2011-07-31 10:46:29 +02:00
|
|
|
{% extends "participant/base_participant.html" %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
2011-10-24 21:05:06 +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-02 08:36:22 +02:00
|
|
|
<p>{% trans 'Required comma separated values: <code>first_name, last_name, gender, group, type, committee, comment</code>' %}<br>
|
|
|
|
{% trans 'CSV file encoding: UTF-8 (Unicode).' %}
|
|
|
|
</p>
|
2011-07-31 10:46:29 +02:00
|
|
|
<form enctype="multipart/form-data" action="" method="post">{% csrf_token %}
|
|
|
|
{{ form.as_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 import">{%trans 'Import' %}</span>
|
|
|
|
</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 %}'">
|
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>
|
|
|
|
</form>
|
|
|
|
</p>
|
|
|
|
{% endblock %}
|