2011-07-31 10:46:29 +02:00
|
|
|
|
{% extends "participant/base_participant.html" %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2012-07-13 01:10:58 +02:00
|
|
|
|
{% block title %}{{ block.super }} – {% trans "Import participants" %} {% endblock %}
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
{% block content %}
|
2011-11-09 21:42:23 +01:00
|
|
|
|
<h1>{% trans 'Import participants' %}</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<p>{% trans 'Select a CSV file to import participants!' %}</p>
|
2011-09-05 09:08:12 +02:00
|
|
|
|
|
2012-04-15 10:07:45 +02:00
|
|
|
|
<p>{% trans 'Required comma separated values: <code>{first_name, last_name, gender, group, type, committee, comment}</code>' %}
|
|
|
|
|
<br>
|
|
|
|
|
{% trans 'Required CSV file encoding: UTF-8 (Unicode).' %}
|
2012-04-02 08:36:22 +02:00
|
|
|
|
</p>
|
2012-04-15 10:07:45 +02:00
|
|
|
|
|
|
|
|
|
<p><a href="http://dev.openslides.org/wiki/CSVImport" target="_blank">{% trans 'A CSV example file is available in OpenSlides Wiki.' %}</a>
|
|
|
|
|
</p>
|
|
|
|
|
|
2011-07-31 10:46:29 +02:00
|
|
|
|
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
|
|
|
|
|
{{ form.as_p }}
|
2012-04-26 17:50:46 +02:00
|
|
|
|
<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 import">{% trans 'Import' %}</span>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</button>
|
|
|
|
|
<a href="{% url user_overview%}">
|
2011-11-14 19:33:45 +01:00
|
|
|
|
<button class="button" type="button" onclick="window.location='{% url user_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>
|
2012-04-26 17:50:46 +02:00
|
|
|
|
</p>
|
2012-04-27 08:02:01 +02:00
|
|
|
|
<small>* {% trans "required" %}</small>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
</form>
|
|
|
|
|
{% endblock %}
|