Added default button class
This commit is contained in:
parent
6cd873447d
commit
c07a902d4d
@ -15,7 +15,7 @@
|
||||
{%- endblock textarea_widget %}
|
||||
|
||||
{% block button_widget -%}
|
||||
{% set attr = attr|merge({class: (attr.class|default('') ~ ' btn')|trim}) %}
|
||||
{% set attr = attr|merge({class: (attr.class|default('btn-default') ~ ' btn')|trim}) %}
|
||||
{{- parent() -}}
|
||||
{%- endblock %}
|
||||
|
||||
|
Reference in New Issue
Block a user