Fix title underline error in faq.rst
[ganeti_webmgr.git] / muddle / templates / edit / form_fields.html
blob6bd5021137ba61b523254cbacb64a6d95d79ac78
1 {% if form.children %}
3 <h2 class="selector">{{name|capfirst}}</h2>
4 <ul class="child_selecter">
5 {% for name in form.children %}
6 <li class="{{name}}">{{name}}</li>
7 {% endfor %}
8 </ul>
9 {{form}}
11 {% for name, form in form.instances.items %}
12 <table id="{{name}}" class="child">
13 {% for field in form %}
14 <tr>
15 <td class="label">{{ field.label_tag }}</td>
16 <td class="field" title="{{field.help_text}}">{{field}}</td>
17 </tr>
18 {% endfor %}
19 </table>
21 {% endfor %}
22 {% else %}
23 <table>
24 {% for field in form %}
25 <tr>
26 <td class="label">{{ field.label_tag }}</td>
27 <td class="field" title="{{field.help_text}}">{{field}}</td>
28 </tr>
29 {% endfor %}
30 </table>
31 {% endif %}