{% extends 'base.html' %} {% block content %}
{% if func.attrs.type == "button" %} {% set _ = func.attrs.update({'type': 'submit'}) %} {% set func_attrs = func.attrs.items() | map("join", "=") | join(" ") %} {% if func.options %} {{func.attributes.prompt}} {% for option in func.options %} {% endfor %} {% else %} {% endif %} {% elif func.attrs.type == "radio" or func.attrs.type == "checkbox" %} {% if func.options %} {{func.attributes.prompt}} {% for option in func.options %} {{option}} {% endfor %} {% else %} {{func.attributes.prompt}} {% endif %} {% else %} {{func.attributes.prompt}} {%endif%}
Error: {{error}}