Skip to content

Commit

Permalink
Fixed Bootstrap form theme form "reset" buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz committed Jan 18, 2016
1 parent 31aef7b commit 67c7f05
Showing 1 changed file with 11 additions and 0 deletions.
Expand Up @@ -65,6 +65,17 @@ col-sm-2
{% endspaceless %}
{% endblock submit_row %}

{% block reset_row -%}
{% spaceless %}
<div class="form-group">
<div class="{{ block('form_label_class') }}"></div>
<div class="{{ block('form_group_class') }}">
{{ form_widget(form) }}
</div>
</div>
{% endspaceless %}
{% endblock reset_row %}

{% block form_group_class -%}
col-sm-10
{%- endblock form_group_class %}

0 comments on commit 67c7f05

Please sign in to comment.