Blame view

dictionary/templates/lexeme_edit_form_row.html 937 Bytes
janek37 authored
1
<li class="lip-row ui-state-default ui-corner-all">
janek37 authored
2
3
4
5
6
    {% 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 %}
janek37 authored
7
        {% if field.name != 'qualifiers' and field.name != 'pronunciation' %}
janek37 authored
8
            <span class="lip-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"
janek37 authored
15
                id="{{ lip_form.prefix }}-prompter">...</button>
janek37 authored
16
    {% endif %}
janek37 authored
17
18
19
20
21
    <p>
        {% if ro_qualifiers %}
            {{ owner.id }}: {{ ro_qualifiers|join:", " }};
        {% endif %}
        {{ lip_form.qualifiers.label_tag }} {{ lip_form.qualifiers.as_widget }}
janek37 authored
22
        {{ lip_form.pronunciation.label_tag }} {{ lip_form.pronunciation.as_widget }}
janek37 authored
23
    </p>
janek37 authored
24
</li>