3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-26 22:52:26 +00:00
coope/templates/form.html

30 lines
561 B
HTML
Raw Normal View History

{% 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>
<button type="submit">{{form_button}}</button>
</form>
</section>
</section>
{% if extra_css %}
<style>
{{extra_css}}
</style>
{% endif %}
2018-10-05 22:03:02 +00:00
{{form.media}}
{% endblock %}