OpenSlides/openslides/application/templates/application/edit.html
2012-02-09 16:57:10 +01:00

35 lines
1.0 KiB
HTML

{% extends "application/base_application.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {%trans "Application" %}{% endblock %}
{% block content %}
{% if application %}
<h1>{%trans "Edit application" %}</h1>
{% else %}
<h1>{%trans "New application" %}</h1>
{% endif %}
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
{{ managerform.as_p }}
<small>* {%trans "required" %}</small>
<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 application_overview %}'>
<button class="button" type="button" onclick="window.location='{% url application_overview %}'">
<span class="icon cancel">{%trans 'Cancel' %}</span>
</button>
</a>
</p>
</form>
{% endblock %}