Blame view

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