26 lines
903 B
HTML
26 lines
903 B
HTML
{% extends "participant/base_participant.html" %}
|
|
{% block title %}{{ block.super }} - {%trans "User Group" %} {% endblock %}
|
|
|
|
{% block content %}
|
|
{% if group %}
|
|
<h1>{%trans "Edit user group" %}</h1>
|
|
{% else %}
|
|
<h1>{%trans "New user group" %}</h1>
|
|
{% endif %}
|
|
|
|
<form action="" method="post">{% csrf_token %}
|
|
{{ form.as_p }}
|
|
<button class="button" type="submit">
|
|
<span class="icon ok">{%trans 'Save' %}</span>
|
|
</button>
|
|
<button class="button" type="submit" name="apply">
|
|
<span class="icon apply">{%trans 'Apply' %}</span>
|
|
</button>
|
|
<a href='{% url user_group_overview %}'>
|
|
<button class="button" type="button" onclick="window.location='{% url user_group_overview %}'">
|
|
<span class="icon cancel">{%trans 'Cancel' %}</span>
|
|
</button>
|
|
</a>
|
|
</form>
|
|
{% endblock %}
|