Skip to content

Commit

Permalink
Use bootstrap 3 layout as default form theme
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Feb 7, 2020
1 parent 40ca359 commit eedda0d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% trans_default_domain 'NucleosUserBundle' %}

{% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %}

{{ form_start(form, { 'action': path('nucleos_user_change_password'), 'attr': { 'class': 'nucleos_user_change_password' } }) }}
{{ form_widget(form) }}
<div>
Expand Down
2 changes: 2 additions & 0 deletions src/Resources/views/Resetting/reset_content.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{% trans_default_domain 'NucleosUserBundle' %}

{% form_theme form 'bootstrap_3_horizontal_layout.html.twig' %}

{{ form_start(form, { 'action': path('nucleos_user_resetting_reset', {'token': token}), 'attr': { 'class': 'nucleos_user_resetting_reset' } }) }}
{{ form_widget(form) }}
<div>
Expand Down

0 comments on commit eedda0d

Please sign in to comment.