lexeme_edit_form_row.html
1.1 KB
{% load dictionary_extras %}
<li class="inflection-row ui-state-default ui-corner-all">
{% 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 inflection_form %}
{% if field.name != 'qualifiers' and field.name != 'pronunciation' %}
<span class="inflection-field">
{{ field.label_tag }} {{ field.as_widget }}
</span>
{% endif %}
{% endfor %}
{% if editable %}
<button type="button" class="prompter"
id="{{ inflection_form.prefix }}-prompter">...</button>
{% endif %}
<p>
{{ inflection_form.qualifiers.label_tag }}
{% if ro_qualifiers %}
{% comment %} {{ owner.id }}: {{ ro_qualifiers|join:", " }}; {% endcomment %}
{{ ro_qualifiers|join_with_vocab }};<br/>
{% endif %}
{{ inflection_form.qualifiers.as_widget }}
{{ inflection_form.pronunciation.label_tag }}
{{ inflection_form.pronunciation.as_widget }}
</p>
</li>