summaryrefslogtreecommitdiffstats
path: root/templates/group.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/group.html')
-rw-r--r--templates/group.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/group.html b/templates/group.html
index b1697e8..98c43c0 100644
--- a/templates/group.html
+++ b/templates/group.html
@@ -1,4 +1,5 @@
{% extends "layout.html" %}
+{% from "_formhelpers.html" import render_field %}
{% block head %}Group: {{group}}{% endblock %}
@@ -14,4 +15,23 @@
{% endfor %}
</ul>
</div>
+
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Delete this group</h3>
+ </div>
+
+ <div class="panel-body">
+ <form class="form-horizontal" role="form" method="POST">
+ {% for field in delete_form %}
+ {{ render_field(field) }}
+ {% endfor %}
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-8">
+ <button type="submit" class="btn btn-danger btn-block">Delete this group</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
{% endblock %}