29 lines
599 B
HTML
29 lines
599 B
HTML
{% extends "elections/base.html" %}
|
|
{% load i18n %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% for error in form.non_field_errors %}
|
|
<div class="notification is-danger">
|
|
{{ error }}
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<h1 class="title">{% trans "Création d'une élection" %}</h1>
|
|
|
|
<div class="container">
|
|
<form action="" method="post">
|
|
{% csrf_token %}
|
|
|
|
{% include "elections/forms/form.html" with form=form errors=False %}
|
|
|
|
<div class="field">
|
|
<p class="control">
|
|
<input class="button is-fullwidth" type="submit" value={% trans "Enregistrer" %}>
|
|
</p>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
{% endblock %}
|