Closed bodokaiser closed 10 years ago
{% macro input(type, name, label) %} <label for="{{ name }}">{{ label }}</label> <input type="{{ type }}" name="{{ name }}" id="{{ name }}"> {% endmacro %} {% macro button type label %} <button type="{{ type|default("submit") }}">{{ label|default("Submit") }}</button> {% endmacro %}
documentation
use something like that in jade
documentation