diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2014-10-30 00:49:28 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2014-10-30 00:52:17 +0100 |
| commit | 64575e18848ed4020019f532560dbdf8d2b3adb0 (patch) | |
| tree | 316a8cfc21ab85b6a652fb685a87d72ad90a27a6 /ishtar_common/templates/blocks/inline_formset.html | |
| parent | 46c62fbab9959af12bfab844938879d3966dae42 (diff) | |
| download | Ishtar-64575e18848ed4020019f532560dbdf8d2b3adb0.tar.bz2 Ishtar-64575e18848ed4020019f532560dbdf8d2b3adb0.zip | |
Add a new menu for admin tasks - new view for global variable edition (refs #2111)
Diffstat (limited to 'ishtar_common/templates/blocks/inline_formset.html')
| -rw-r--r-- | ishtar_common/templates/blocks/inline_formset.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ishtar_common/templates/blocks/inline_formset.html b/ishtar_common/templates/blocks/inline_formset.html index e36405118..744e125f5 100644 --- a/ishtar_common/templates/blocks/inline_formset.html +++ b/ishtar_common/templates/blocks/inline_formset.html @@ -1,12 +1,12 @@ {% load i18n %} {% if extra_formset.non_form_errors %}<div class='errors'>{{extra_formset.non_form_errors.as_ul}}</div>{% endif %} - {% if header %}<table class='inline-table'> + {% if header %}<table class='inline-table' id='{{formset}}aaa'> <caption>{% trans caption %}</caption> - {% endif %}{% for frm in formset%}{% if header %}<thead> - <tr>{% for field in frm.visible_fields%} + <thead> + <tr>{% for field in formset.0.visible_fields%} <th>{{field.label}}</th>{%endfor%} </tr> - </thead>{% endif %} + </thead>{% endif %}{% for frm in formset%} {% if forloop.first and not skip %}<tbody>{%endif%} {% if not skip or not forloop.first %}<tr>{% endif %}{% for field in frm.visible_fields %} <td> |
