27 lines
796 B
HTML
27 lines
796 B
HTML
{% extends "participant/base_participant.html" %}
|
|
{% block title %}{{ block.super }} - {%trans "Participant" %} {% endblock %}
|
|
|
|
{% block content %}
|
|
{% if edituser %}
|
|
<h1>{%trans "Edit participant" %}</h1>
|
|
{% else %}
|
|
<h1>{%trans "New participant" %}</h1>
|
|
{% endif %}
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
|
{% if edituser %}
|
|
{{ usernameform.as_p }}
|
|
{% endif %}
|
|
{{ userform.as_p }}
|
|
{{ profileform.as_p }}
|
|
<button type="submit">
|
|
<span class="icon ok">{%trans 'Save' %}</span>
|
|
</button>
|
|
<a href='{% url user_overview %}'>
|
|
<button type="button">
|
|
<span class="icon cancel">{%trans 'Cancel' %}</span>
|
|
</button>
|
|
</a>
|
|
</form>
|
|
{% endblock %}
|