]> git.immae.eu Git - github/wallabag/wallabag.git/blob - vendor/symfony/twig-bridge/Symfony/Bridge/Twig/Resources/views/Form/form_table_layout.html.twig
gitignore vendor
[github/wallabag/wallabag.git] / vendor / symfony / twig-bridge / Symfony / Bridge / Twig / Resources / views / Form / form_table_layout.html.twig
1 {% use "form_div_layout.html.twig" %}
2
3 {% block form_row %}
4 {% spaceless %}
5 <tr>
6 <td>
7 {{ form_label(form) }}
8 </td>
9 <td>
10 {{ form_errors(form) }}
11 {{ form_widget(form) }}
12 </td>
13 </tr>
14 {% endspaceless %}
15 {% endblock form_row %}
16
17 {% block button_row %}
18 {% spaceless %}
19 <tr>
20 <td></td>
21 <td>
22 {{ form_widget(form) }}
23 </td>
24 </tr>
25 {% endspaceless %}
26 {% endblock button_row %}
27
28 {% block hidden_row %}
29 {% spaceless %}
30 <tr style="display: none">
31 <td colspan="2">
32 {{ form_widget(form) }}
33 </td>
34 </tr>
35 {% endspaceless %}
36 {% endblock hidden_row %}
37
38 {% block form_widget_compound %}
39 {% spaceless %}
40 <table {{ block('widget_container_attributes') }}>
41 {% if form.parent is empty and errors|length > 0 %}
42 <tr>
43 <td colspan="2">
44 {{ form_errors(form) }}
45 </td>
46 </tr>
47 {% endif %}
48 {{ block('form_rows') }}
49 {{ form_rest(form) }}
50 </table>
51 {% endspaceless %}
52 {% endblock form_widget_compound %}