Skip to content

Commit

Permalink
Update collection form template
Browse files Browse the repository at this point in the history
Add ``class="controls"`` to fix collection rows indentation
  • Loading branch information
EmmanuelVella committed Feb 12, 2013
1 parent bbb84b2 commit 0ce1c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/Form/form_admin_fields.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ file that was distributed with this source code.
{% set child = prototype %}
{% set attr = attr|merge({'data-prototype': block('collection_widget_row') }) %}
{% endif %}
<div {{ block('widget_container_attributes') }}>
<div class="controls" {{ block('widget_container_attributes') }}>
{{ form_errors(form) }}
{% for child in form %}
{{ block('collection_widget_row') }}
Expand Down

0 comments on commit 0ce1c71

Please sign in to comment.