material_admin-8.x-1.0-alpha7/templates/buttons/input--submit--button-flat.html.twig
templates/buttons/input--submit--button-flat.html.twig
{#
/**
* @file
* Theme override for an 'input' #type form element.
*
* Available variables:
* - attributes: A list of HTML attributes for the input element.
* - children: Optional additional rendered elements.
*
* @see template_preprocess_input()
*/
#}
{%
set classes = [
'waves-effect',
'waves-light',
'btn-flat',
'v-top'
]
%}
{% set btn_classes = btn_classes | default([]) %}
<button{{ attributes.addClass(classes).addClass(btn_classes) }}><i class="material-icons">{% block icon %}{% endblock %}</i> <span>{{ attributes.value }}</span></button>