{% extends "_layout" %} {% import "_form_macros" as form %} {% block title -%} Define relation {%- endblock %} {% block nav -%} Home {%- endblock %} {% block content -%}
{{ form::header_with_save_button(heading='Define new relation from "'~object.name~'"') }}
{{ form::text(name="name", label="Name", value=old.name) }} {{ form::text(name="reciprocal_name", label="Reciprocal name", value=old.reciprocal_name) }} {{ form::checkbox(name="optional", label="Optional", checked=old.optional) }} {{ form::checkbox(name="multiple", label="Multiple", checked=old.multiple) }} {{ form::integer(name="sort_key", label="Sort order", value=old.sort_key) }}
{%- endblock %}