OpenSlides/openslides/assignment/templates/assignment/edit.html

27 lines
813 B
HTML

{% extends "assignment/base_assignment.html" %}
{% block title %}{{ block.super }} - {%trans "Election" %}{% endblock %}
{% block content %}
{% if assignment %}
<h1>{%trans "Edit election" %}</h1>
{% else %}
<h1>{%trans "New election" %}</h1>
{% endif %}
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<button type="submit">
<span class="icon ok">{%trans 'Save' %}</span>
</button>
<button type="submit" name="apply">
<span class="icon apply">{%trans 'Apply' %}</span>
</button>
<a href='{% url assignment_overview %}'>
<button type="button">
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</form>
{% endblock %}