mirror of
https://github.com/nanoy42/coope
synced 2024-12-23 07:23:47 +00:00
30 lines
638 B
HTML
30 lines
638 B
HTML
{% extends 'base.html' %}
|
|
{% block entete %}{{form_title}}{% 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>
|
|
{{ extra_html | safe }}<br><br>
|
|
<button type="submit"><i class="fa fa-{{form_button_icon}}"></i> {{form_button}}</button>
|
|
</form>
|
|
</section>
|
|
</section>
|
|
{% if extra_css %}
|
|
<style>
|
|
{{extra_css}}
|
|
</style>
|
|
{% endif %}
|
|
{{form.media}}
|
|
{% endblock %}
|