2011-07-31 10:46:29 +02:00
|
|
|
|
{% extends "application/base_application.html" %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% block title %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
{{ block.super }} –
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% if application %}
|
2012-08-05 22:31:20 +02:00
|
|
|
|
{% trans "Edit motion" %}
|
2012-07-13 01:10:58 +02:00
|
|
|
|
{% else %}
|
2012-08-05 22:31:20 +02:00
|
|
|
|
{% trans "New motion" %}
|
2012-07-13 00:44:12 +02:00
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
{% if application %}
|
2012-08-05 22:31:20 +02:00
|
|
|
|
<h1>{% trans "Edit motion" %}</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
{% else %}
|
2012-08-05 22:31:20 +02:00
|
|
|
|
<h1>{% trans "New motion" %}</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
|
|
|
|
{{ form.as_p }}
|
|
|
|
|
{{ managerform.as_p }}
|
|
|
|
|
<p>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
<button class="button" type="submit">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<span class="icon ok">{% trans 'Save' %}</span>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</button>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
<button class="button" type="submit" name="apply">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<span class="icon apply">{% trans 'Apply' %}</span>
|
2011-09-03 16:20:10 +02:00
|
|
|
|
</button>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<a href='{% url application_overview %}'>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
<button class="button" type="button" onclick="window.location='{% url application_overview %}'">
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<span class="icon cancel">{% trans 'Cancel' %}</span>
|
2011-11-14 19:33:45 +01:00
|
|
|
|
</button>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</a>
|
|
|
|
|
</p>
|
2012-07-16 14:00:29 +02:00
|
|
|
|
<small>* {% trans "required" %}</small>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</form>
|
|
|
|
|
|
|
|
|
|
{% endblock %}
|