OpenSlides/openslides/participant/templates/participant/edit.html

42 lines
1.1 KiB
HTML
Raw Normal View History

{% extends "base.html" %}
2012-02-09 16:57:10 +01:00
{% load i18n %}
{% block title %}
{{ block.super }}
{% if edit_user %}
{% trans "Edit participant" %}
{% else %}
{% trans "New participant" %}
{% endif %}
{% endblock %}
2011-07-31 10:46:29 +02:00
{% block content %}
<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>
</small>
</h1>
2011-07-31 10:46:29 +02:00
<form action="" method="post">{% csrf_token %}
{% include "form.html" %}
{% 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>
</p>
2011-09-03 17:17:29 +02:00
{% endif %}
<p>
{% include "formbuttons_saveapply.html" %}
2013-01-05 15:29:57 +01:00
<a href="{% url 'user_overview' %}" class="btn">
{% trans 'Cancel' %}
</a>
</p>
2012-04-27 08:02:01 +02:00
<small>* {% trans "required" %}</small>
2011-07-31 10:46:29 +02:00
</form>
{% endblock %}