Blame view

dictionary/templates/lexeme_edit_form_row.html 812 Bytes
janek37 authored
1
<li class="lip-row ui-state-default ui-corner-all">
janek37 authored
2
3
4
5
6
7
8
    {% if editable %}
        <span class="remove ui-icon ui-icon-closethick"></span>
        <span class="arrows ui-icon ui-icon-arrowthick-2-n-s"></span>
    {% endif %}
    {% for field in lip_form %}
        {% if field.name != 'qualifiers' %}
            <span class="lip-field">
janek37 authored
9
10
        {{ field.label_tag }} {{ field.as_widget }}
      </span>
janek37 authored
11
12
13
14
15
16
        {% endif %}
    {% endfor %}
    {% if editable %}
        <button type="button" class="prompter"
                id="{{ lip_form.prefix }}-prompter">...
        </button>
janek37 authored
17
    {% endif %}
janek37 authored
18
19
20
21
22
23
    <p>
        {% if ro_qualifiers %}
            {{ owner.id }}: {{ ro_qualifiers|join:", " }};
        {% endif %}
        {{ lip_form.qualifiers.label_tag }} {{ lip_form.qualifiers.as_widget }}
    </p>
janek37 authored
24
</li>