You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
603B

  1. {% macro button(params) %}
  2. {% set params_default = {type: 'submit', name: 'submit', class: 'float-right btn btn-primary', label: 'save', value: 'save'} %}
  3. {% set params = params_default|merge(params) %}
  4. <button type="{{ params.type }}" name="{{ params.name }}" class="{{ params.class }}" value="{{ params.value }}" form="{{ params.form }}">
  5. <span class="btn-label">
  6. {% if params.icon is defined %}
  7. <i class="{{ params.icon }}"></i>
  8. {% endif %}
  9. {{ params.label|sov_trans_admin_action }}
  10. </span>
  11. </button>
  12. {% endmacro %}