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

25 lines
1010 B
HTML

{% extends "application/base_application.html" %}
{% load i18n %}
{% block title %}{{ block.super }} - {%trans "Import applications" %} {% endblock %}
{% block content %}
<h1>{%trans "Import applications" %}</h1>
<p>{% trans 'Select a CSV file to import applications!' %}</p>
<p>{% trans '(Required comma separated values: <code>number, title, text, reason, first_name, last_name</code> - <code>number</code> and <code>reason</code> are optional and may be empty)' %} </p>
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
{{ form.as_p }}
<button class="button" type="submit">
<span class="icon import">{%trans 'Import' %}</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>
</form>
</p>
{% endblock %}