{{ bootstrap.load_js() }} {{ bootstrap.load_css() }}
{% if forms %} {% endif %}
{% include "nav.html" %}
{% block content %}{% endblock %}
{% if forms %}
{% for form in forms %}
{% if form.attributes['upload'] == 'true' %}
{% if form.attributes['edit'] == 'true' %}
{{form.attributes['title_prefix']}} {{item.name}}
{% elif form.attributes['type'] %}
{{form.attributes['title_prefix']}} {{form.attributes['type']}}
{% elif item %}
{{form.attributes['title_prefix']}} {{item.name}}
{% endif %}
×
{% if form.attributes['text'] %}
{{form.attributes['text']}}
{% endif %} {% for control in form.items %} {% with item=item, control=control, form=form %} {% include "control.html" %} {% endwith %} {% endfor %}
File not selected...
{% else %}
{% if form.attributes['edit'] == 'true' %}
{{form.attributes['title_prefix']}}
{{item.name}}
{% elif form.attributes['type'] %}
{{form.attributes['title_prefix']}}
{{form.attributes['type']}}
{% elif item %}
{{form.attributes['title_prefix']}}
{{item.name}}
{% endif %}
×
{% if form.attributes['text'] %}
{{form.attributes['text']}}
{% endif %} {% for control in form.items %} {% if not (control.instance.type and control.instance.type.name == 'ButtonCtrl') %} {% with item=item, control=control, form=form %} {% include "control.html" %} {% endwith %} {% endif %} {% endfor %} {% if view %}
{% endif %}
{% endif %}
{% endfor %} {% endif %}