mirror of
https://github.com/umap-project/umap.git
synced 2025-05-01 12:32:23 +02:00
28 lines
779 B
HTML
28 lines
779 B
HTML
{% extends "umap/content.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
{% block maincontent %}
|
|
{% include "umap/dashboard_menu.html" with selected="groups" %}
|
|
<div class="wrapper">
|
|
<div class="row">
|
|
{% if form.non_field_errors %}
|
|
<ul class="form-errors">
|
|
{% for error in form.non_field_errors %}
|
|
<li>
|
|
{{ error }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<form id="group_form" method="post">
|
|
{% csrf_token %}
|
|
{{ form }}
|
|
<input type="submit" value="{% trans 'Save' %}" />
|
|
</form>
|
|
{% if group.user_set.count == 1 %}
|
|
<a href="{% url 'group_delete' group.pk %}">{% trans "Delete this group" %}</a>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endblock maincontent %}
|