2011-07-31 10:46:29 +02:00
|
|
|
{% extends "application/base_application.html" %}
|
|
|
|
{% 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>
|
2011-11-14 19:33:45 +01:00
|
|
|
<button class="button" type="submit">
|
2011-07-31 10:46:29 +02:00
|
|
|
<span class="icon ok">{%trans 'Save' %}</span>
|
|
|
|
</button>
|
2011-11-14 19:33:45 +01:00
|
|
|
<button class="button" type="submit" name="apply">
|
2011-09-03 16:20:10 +02:00
|
|
|
<span class="icon apply">{%trans 'Apply' %}</span>
|
|
|
|
</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 %}'">
|
2011-07-31 10:46: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>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{% endblock %}
|