{% extends "base.html" %} {% block main_content %}

{{page_title}}

{% for field in form %} {% if field.type == 'HiddenField' or field.type == 'CSRFTokenField' %} {{field}}
{% elif field.type != 'SubmitField' %}
{{ field.label( class="col-lg-2" ) }} {{ field( class="form-control col-lg-10" ) }}
{% endif %} {% endfor %}
{{form.submit(class="btn btn-primary offset-lg-2 col-lg-2" )}}
{% endblock main_content %}