Ticket #7859: hidden.diff
File hidden.diff, 1.1 KB (added by , 16 years ago) |
---|
-
fieldset.html
5 5 <div class="form-row{% if line.errors %} errors{% endif %} {% for field in line %}{{ field.field.name }} {% endfor %} "> 6 6 {{ line.errors }} 7 7 {% for field in line %} 8 {% if field. is_checkbox%}9 {{ field.field }} {{ field.label_tag }}8 {% if field.field.is_hidden %} 9 {{ field.field }} 10 10 {% else %} 11 {{ field.label_tag }}{{ field.field }} 11 {% if field.is_checkbox %} 12 {{ field.field }}{{ field.label_tag }} 13 {% else %} 14 {{ field.label_tag }}{{ field.field }} 15 {% endif %} 16 {% if field.field.field.help_text %}<p class="help">{{ field.field.field.help_text|safe }}</p>{% endif %} 12 17 {% endif %} 13 {% if field.field.field.help_text %}<p class="help">{{ field.field.field.help_text|safe }}</p>{% endif %}14 18 {% endfor %} 15 19 </div> 16 20 {% endfor %} 17 </fieldset> 18 No newline at end of file 21 </fieldset>