summaryrefslogtreecommitdiffstats
path: root/templates/index.html
diff options
context:
space:
mode:
authorAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2013-09-04 15:49:03 +0000
committerAlexander Sulfrian <alex@spline.inf.fu-berlin.de>2013-09-04 15:52:20 +0000
commitd29ad289dc6b4873c1ab06841509aeb21fa28958 (patch)
tree4fcf292afab3537142976dfa0a7f9af4a6464bb8 /templates/index.html
parent1a9edf1fcb945f7f235ad5691f4958d1c4089dc0 (diff)
downloadpadlite-teams-d29ad289dc6b4873c1ab06841509aeb21fa28958.tar.gz
padlite-teams-d29ad289dc6b4873c1ab06841509aeb21fa28958.tar.bz2
padlite-teams-d29ad289dc6b4873c1ab06841509aeb21fa28958.zip
add ability to create new groups
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index eef2f0c..6898a42 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -16,5 +16,23 @@
</div>
</div>
+<div class="panel panel-default">
+ <div class="panel-heading">
+ <h3 class="panel-title">Create new group</h3>
+ </div>
+ <div class="panel-body">
+ <form class="form-horizontal" role="form" method="POST">
+ {% for field in create_form %}
+ {{ render_field(field) }}
+ {% endfor %}
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ <button type="submit" class="btn btn-default">Create group</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
+
<a class="btn btn-default btn-block" href="{{ url_for('auth.logout') }}">Logout</a>
{% endblock %}