comunic/developer/user/themes/antimatter/templates/macros/macros.html.twig

3 lines
175 B
Twig
Raw Normal View History

2016-11-19 11:08:12 +00:00
{% macro input(name, value, type, size) %}
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}