2012-09-06 22:41:24 +02:00
|
|
|
|
{% extends "base.html" %}
|
2012-02-09 16:57:10 +01:00
|
|
|
|
|
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
2012-07-13 01:10:58 +02:00
|
|
|
|
{% block title %}
|
2012-07-16 14:00:29 +02:00
|
|
|
|
{{ block.super }} –
|
2012-08-10 13:22:09 +02:00
|
|
|
|
{% if edit_user %}
|
2012-07-13 01:10:58 +02:00
|
|
|
|
{% trans "Edit participant" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% trans "New participant" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
2011-07-31 10:46:29 +02:00
|
|
|
|
{% block content %}
|
2012-09-06 22:41:24 +02:00
|
|
|
|
<h1>
|
|
|
|
|
{% if edit_user %}
|
|
|
|
|
{% trans "Edit participant" %}
|
|
|
|
|
{% else %}
|
|
|
|
|
{% trans "New participant" %}
|
|
|
|
|
{% endif %}
|
|
|
|
|
<small class="pull-right">
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<a href="{% url 'user_overview' %}" class="btn btn-mini"><i class="icon-chevron-left"></i> {% trans "Back to overview" %}</a>
|
2012-09-06 22:41:24 +02:00
|
|
|
|
</small>
|
|
|
|
|
</h1>
|
2011-07-31 10:46:29 +02:00
|
|
|
|
|
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
2012-09-06 22:41:24 +02:00
|
|
|
|
{% include "form.html" %}
|
2012-08-10 13:22:09 +02:00
|
|
|
|
{% if edit_user %}
|
|
|
|
|
<p>
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<a href="{% url 'user_reset_password' edit_user.id %}">{% trans 'Reset to First Password' %}</a>
|
2012-08-10 13:22:09 +02:00
|
|
|
|
</p>
|
2011-09-03 17:17:29 +02:00
|
|
|
|
{% endif %}
|
2012-04-26 17:50:46 +02:00
|
|
|
|
<p>
|
2012-09-06 22:41:24 +02:00
|
|
|
|
{% include "formbuttons_saveapply.html" %}
|
2013-01-05 15:29:57 +01:00
|
|
|
|
<a href="{% url 'user_overview' %}" class="btn">
|
2012-09-06 22:41:24 +02:00
|
|
|
|
{% trans 'Cancel' %}
|
|
|
|
|
</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 %}
|