2018-09-01 19:57:09 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
{% block entete %}{{form_entete}}{% endblock %}
|
|
|
|
{% block navbar %}
|
|
|
|
<ul>
|
|
|
|
<li><a href="#first">{{form_title}}</a></li>
|
|
|
|
</ul>
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<section id="first" class="main">
|
|
|
|
<header class="major">
|
|
|
|
<h2>{{form_title}}</h2>
|
|
|
|
<p>{{form_p}}</p>
|
|
|
|
</header>
|
|
|
|
<section>
|
|
|
|
<form action="" method="post">
|
|
|
|
{% csrf_token %}
|
|
|
|
{{ form }}
|
|
|
|
<br>
|
2019-02-26 22:18:53 +00:00
|
|
|
{{ extra_html | safe }}<br><br>
|
2019-01-17 22:16:43 +00:00
|
|
|
<button type="submit"><i class="fa fa-{{form_button_icon}}"></i> {{form_button}}</button>
|
2018-09-01 19:57:09 +00:00
|
|
|
</form>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
{% if extra_css %}
|
|
|
|
<style>
|
|
|
|
{{extra_css}}
|
|
|
|
</style>
|
|
|
|
{% endif %}
|
2018-10-05 22:03:02 +00:00
|
|
|
{{form.media}}
|
2018-09-01 19:57:09 +00:00
|
|
|
{% endblock %}
|