{# bfx/input.html — Text input macro #} {% macro input(name, type="text", label=none, placeholder="", value="", error=none, required=false, attrs={}) %} {% if label %}{{ label }}{% endif %} {% if error %}{{ error }}{% endif %} {% if label %}{% endif %} {% endmacro %}