grav-theme-libretic/templates/macros/macros.html.twig

3 lines
175 B
Twig
Raw Normal View History

2015-01-15 19:15:54 +01:00
{% macro input(name, value, type, size) %}
<input type="{{ type|default('text') }}" name="{{ name }}" value="{{ value|e }}" size="{{ size|default(20) }}" />
{% endmacro %}