|
12345678910111213 |
-
- {% macro button(params) %}
- {% set params_default = {type: 'submit', name: 'submit', class: 'float-right btn btn-primary', label: 'save', value: 'save'} %}
- {% set params = params_default|merge(params) %}
- <button type="{{ params.type }}" name="{{ params.name }}" class="{{ params.class }}" value="{{ params.value }}" form="{{ params.form }}">
- <span class="btn-label">
- {% if params.icon is defined %}
- <i class="{{ params.icon }}"></i>
- {% endif %}
- {{ params.label|sov_trans_admin_action }}
- </span>
- </button>
- {% endmacro %}
|