templates/web/admin/button/regular.twig line 1

Open in your IDE?
  1. {##
  2.  # Regular button
  3.  #}
  4. <button {{ this.printTagAttributes(this.getAttributes())|raw }}>
  5.   {{ this.displayCommentedData(this.getCommentedData()) }}
  6.   {% set iconStyle = this.getParam('icon-style') %}
  7.   {% if iconStyle %}<span><i class="button-icon {{ iconStyle }}"></i></span>{% endif %}
  8.   {% set buttonLabel = t(this.getButtonLabel()) %}
  9.   {% if buttonLabel %}<span>{{ buttonLabel|raw }}</span>{% endif %}
  10. </button>