PHP Classes

File: app/Views/Form/form_table_layout.html.twig

Recommend this page to a friend!
  Classes of Sergey Beskorovayniy   Silex MVC Blog   app/Views/Form/form_table_layout.html.twig   Download  
File: app/Views/Form/form_table_layout.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Silex MVC Blog
MVC based blog using on the Silex micro-framework
Author: By
Last change:
Date: 8 years ago
Size: 1,011 bytes
 

Contents

Class file image Download
{% use "form_div_layout.html.twig" %} {%- block form_row -%} <tr> <td> {{- form_label(form) -}} </td> <td> {{- form_errors(form) -}} {{- form_widget(form) -}} </td> </tr> {%- endblock form_row -%} {%- block button_row -%} <tr> <td></td> <td> {{- form_widget(form) -}} </td> </tr> {%- endblock button_row -%} {%- block hidden_row -%} <tr style="display: none"> <td colspan="2"> {{- form_widget(form) -}} </td> </tr> {%- endblock hidden_row -%} {%- block form_widget_compound -%} <table {{ block('widget_container_attributes') }}> {%- if form.parent is empty and errors|length > 0 -%} <tr> <td colspan="2"> {{- form_errors(form) -}} </td> </tr> {%- endif -%} {{- block('form_rows') -}} {{- form_rest(form) -}} </table> {%- endblock form_widget_compound -%}