Skip to content

Commit

Permalink
Button labels enclosed in <span>
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed Jan 10, 2019
1 parent 93fc779 commit 72df201
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Resources/views/form/bootstrap_4.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

{# the 'save' action is hardcoded for the 'edit' and 'new' views #}
<button type="submit" class="btn btn-primary action-save">
<i class="fa fa-save"></i> {{ 'action.save'|trans(_trans_parameters, _translation_domain) }}
<i class="fa fa-save"></i>
<span class="btn-label">{{ 'action.save'|trans(_trans_parameters, _translation_domain) }}</span>
</button>

{% set _entity_actions = (easyadmin.view == 'new')
Expand Down

0 comments on commit 72df201

Please sign in to comment.