grav-theme-libretic/templates/macros/macros.html.twig
2015-01-15 19:15:54 +01:00

3 lines
No EOL
175 B
Twig

{% macro input(name, value, type, size) %}
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}