summaryrefslogtreecommitdiffstats
path: root/templates/group_change.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 01:15:11 +0100
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2014-11-19 02:15:56 +0100
commit2045386f7d09df9716f81ab523ffb619d8c6c887 (patch)
tree569ab4414e4e3d0a3ee0e7e6bf6ac63e8b277fb8 /templates/group_change.html
parent2e7f70591ddc2e73be3e9d426ceaffaf3df0b9c2 (diff)
downloadpadlite-teams-2045386f7d09df9716f81ab523ffb619d8c6c887.tar.gz
padlite-teams-2045386f7d09df9716f81ab523ffb619d8c6c887.tar.bz2
padlite-teams-2045386f7d09df9716f81ab523ffb619d8c6c887.zip
group_change: add form/template/view to change a group
Diffstat (limited to 'templates/group_change.html')
-rw-r--r--templates/group_change.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/group_change.html b/templates/group_change.html
new file mode 100644
index 0000000..9b95315
--- /dev/null
+++ b/templates/group_change.html
@@ -0,0 +1,25 @@
+{% extends "layout.html" %}
+{% from "_formhelpers.html" import render_field %}
+
+{% block head %}Group: {{group}}{% endblock %}
+
+{% block content %}
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Edit this group</h3>
+ </div>
+
+ <div class="panel-body">
+ <form class="form-horizontal" role="form" method="POST">
+ {% for field in change_form %}
+ {{ render_field(field) }}
+ {% endfor %}
+ <div class="form-group">
+ <div class="col-lg-10 col-lg-offset-2">
+ <button type="submit" class="btn btn-primary">Save group</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
+{% endblock %}