32 lines
1.2 KiB
HTML
32 lines
1.2 KiB
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)' %}
|
|
<br>
|
|
{% trans 'Required CSV file encoding: UTF-8 (Unicode).' %}
|
|
</p>
|
|
|
|
<p><a href="http://dev.openslides.org/wiki/CSVImport" target="_blank">{% trans 'A CSV example file is available in OpenSlides Wiki.' %}</a>
|
|
</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 %}
|