<li class="lip-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 lip_form %} {% if field.name != 'qualifiers' %} <span class="lip-field"> {{ field.label_tag }} {{ field.as_widget }} </span> {% endif %} {% endfor %} {% if editable %} <button type="button" class="prompter" id="{{ lip_form.prefix }}-prompter">... </button> {% endif %} <p> {% if ro_qualifiers %} {{ owner.id }}: {{ ro_qualifiers|join:", " }}; {% endif %} {{ lip_form.qualifiers.label_tag }} {{ lip_form.qualifiers.as_widget }} </p> </li>