<li class="ending-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 %} {{ pattern.example }} <input type="text" value="{{ ending.string }}" id="ending-{{ ending.id }}" {{ editable|yesno:',disabled="disabled"' }} size="8"/> {{ ro_qualifiers|join:", " }} {{ form.as_p }} </li>