3527b0a75b
* New user model (used Django's AbstractBaseUser) * Renamed the app to users * removed person api See #861 Fixed #576 #478
40 lines
943 B
HTML
40 lines
943 B
HTML
{% extends "base.html" %}
|
||
|
||
{% load i18n %}
|
||
|
||
{% block title %}
|
||
{% if group %}
|
||
{% trans "Edit group" %}
|
||
{% else %}
|
||
{% trans "New group" %}
|
||
{% endif %}
|
||
– {{ block.super }}
|
||
{% endblock %}
|
||
|
||
{% block content %}
|
||
<h1>
|
||
{% if group %}
|
||
{% trans "Edit group" %}
|
||
{% else %}
|
||
{% trans "New group" %}
|
||
{% endif %}
|
||
<small class="pull-right">
|
||
<a href="{% url 'group_list' %}" class="btn btn-mini">
|
||
<i class="icon-chevron-left"></i>
|
||
{% trans "Back to overview" %}
|
||
</a>
|
||
</small>
|
||
</h1>
|
||
|
||
<form action="" method="post">{% csrf_token %}
|
||
{% include "form.html" %}
|
||
<p>
|
||
{% include "formbuttons_saveapply.html" %}
|
||
<a href="{% url 'group_list' %}" class="btn">
|
||
{% trans 'Cancel' %}
|
||
</a>
|
||
</p>
|
||
<small>* {% trans "required" %}</small>
|
||
</form>
|
||
{% endblock %}
|