{# WTForms macros heavily inspired by Flask-Bootstrap. # Consult their docs if you are confused about anything here: # http://pythonhosted.org/Flask-Bootstrap/macros.html?highlight=quick_form#quick_form #} {# Render a flask.ext.wtforms.Form object. Parameters: form – The form to output. method –
{% endmacro %} {# Render a message for the form #} {% macro form_message(messages, header=none, class='') %} {% if messages %} {% endif %} {% endmacro %} {# Render a field for the form #} {% macro render_custom_select(field) %} {{ field.label }} {% if field.description %}