diff options
author | Alexander Sulfrian <alex@spline.inf.fu-berlin.de> | 2013-09-04 16:12:41 +0000 |
---|---|---|
committer | pad <pad@vm-pad-b.spline.inf.fu-berlin.de> | 2013-09-04 16:12:41 +0000 |
commit | b0b3c4b9c60f414b5ab0ea916791edb07e6fffc4 (patch) | |
tree | 9493ea4e06c5ce15b587baf765867960b71515af /templates/group.html | |
parent | a6624cda1ad4d31d98a18a258ed65899119aff56 (diff) | |
download | padlite-teams-b0b3c4b9c60f414b5ab0ea916791edb07e6fffc4.tar.gz padlite-teams-b0b3c4b9c60f414b5ab0ea916791edb07e6fffc4.tar.bz2 padlite-teams-b0b3c4b9c60f414b5ab0ea916791edb07e6fffc4.zip |
add ability to delete groups
Diffstat (limited to 'templates/group.html')
-rw-r--r-- | templates/group.html | 20 |
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 %} |