material_admin-8.x-1.0-alpha7/templates/form/input--file.html.twig
templates/form/input--file.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()
*/
#}
<div class="btn file-upload-btn">
<span><i class="material-icons">file_upload</i> </span>
<input{{ attributes }} />
</div>
{{ children }}
<div class="file-path-wrapper">
<input class="file-path validate" type="text" placeholder="{% trans %}Upload{% endtrans %}">
</div>
