- Author:
- petry
- Posted:
- November 12, 2008
- Language:
- HTML/template
- Version:
- Not specified
- Score:
- 0 (after 0 ratings)
Field used to cutomize inline formset
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | {%for f in form.management_form%}
{{f}}
{%endfor%}
<table>
<tr>
{% for field in form.forms.0 %}
{% if not field.is_hidden %}
<th>{{field.label}}</th>
{% endif %}
{% endfor %}
</tr>
{%for f in form.forms%}
<tr>
{%for field in f%}
{% if not field.is_hidden %}
<td valign="bottom">{{field}}</td>
{%else%}
{{field}}
{% endif %}
{%endfor%}
</tr>
{%endfor%}
</table>
|
More like this
- Bootstrap Accordian by Netplay4 5 years, 10 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 10 months ago
- Bootstrap theme for django-endless-pagination? by se210 8 years, 10 months ago
- Reusable form template with generic view by roldandvg 8 years, 11 months ago
- Pagination Django with Boostrap by guilegarcia 9 years, 1 month ago
Comments
Please login first before commenting.