{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% load static %}

{% block modals%}
{% endblock %}

{% block script %}
{% endblock %}

{% block main %}
<div class="card-body">
	<div class="col-sm-9 p-0 m-3">
	<div class="card text-white bg-dark">
		{% if page.p_f_titre %}<div class="card-header">{{page.p_f_titre}}</div>{% endif %}
		<div class="card-body">
			<form action="" method="post">{% csrf_token %}
				{{ form|crispy }}
				<input type="submit" class="btn btn-success mt-1" value="Valider">
			</form>
		</div>
	</div>
	</div>
</div>
{% endblock %}

{% block right_panel %}
<div class="card-body">
	<div class="d-grid gap-2"><a class="btn btn-primary" href="/parc" role="button"><i class="fas fa-undo-alt"></i> Retour</a></div>
</div>
{% endblock %}
