41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
{% extends "motion/base_motion.html" %}
|
||
|
||
{% load i18n %}
|
||
|
||
{% block title %}
|
||
{{ block.super }} –
|
||
{% if motion %}
|
||
{% trans "Edit motion" %}
|
||
{% else %}
|
||
{% trans "New motion" %}
|
||
{% endif %}
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
{% if motion %}
|
||
<h1>{% trans "Edit motion" %}</h1>
|
||
{% else %}
|
||
<h1>{% trans "New motion" %}</h1>
|
||
{% endif %}
|
||
|
||
<form action="" method="post">{% csrf_token %}
|
||
{{ form.as_p }}
|
||
{{ managerform.as_p }}
|
||
<p>
|
||
<button class="button" type="submit">
|
||
<span class="icon ok">{% trans 'Save' %}</span>
|
||
</button>
|
||
<button class="button" type="submit" name="apply">
|
||
<span class="icon apply">{% trans 'Apply' %}</span>
|
||
</button>
|
||
<a href='{% url motion_overview %}'>
|
||
<button class="button" type="button" onclick="window.location='{% url motion_overview %}'">
|
||
<span class="icon cancel">{% trans 'Cancel' %}</span>
|
||
</button>
|
||
</a>
|
||
</p>
|
||
<small>* {% trans "required" %}</small>
|
||
</form>
|
||
|
||
{% endblock %}
|