{% extends "base.html" %} {% block main_content %}
	<div class="container">
		<h3 class="offset-lg-2">{{page_title}}</h3>
		<div class="row">
			<form class="form form-inline col-xl-12" action="" method="POST">
				{% for field in form %}
					{% if field.type == 'HiddenField' or field.type == 'CSRFTokenField' %}
						{{field}}<br>
					{% elif field.type != 'SubmitField' %}
						<div class="form-row col-lg-12">
						{{ field.label( class="col-lg-3 justify-content-end" ) }}
						{{ field( class="form-control col-lg-9" ) }}
						</div class="form-row col-lg-12">
					{% endif %}
				{% endfor %}
				<div class="form-row col-lg-12">
					{{form.submit(class="btn btn-primary offset-lg-2 col-lg-2" )}}
				</div class="row">
			</div class="form">
		</div class="row">
	</div class="container">
{% endblock main_content %}
