diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/group_change.html | 25 |
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 %} |