summaryrefslogtreecommitdiffstats
path: root/templates/pad_delete.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pad_delete.html')
-rw-r--r--templates/pad_delete.html38
1 files changed, 38 insertions, 0 deletions
diff --git a/templates/pad_delete.html b/templates/pad_delete.html
new file mode 100644
index 0000000..7b37a5a
--- /dev/null
+++ b/templates/pad_delete.html
@@ -0,0 +1,38 @@
+{% extends "layout.html" %}
+{% from "_formhelpers.html" import render_field %}
+
+{% block head %}Group: {{group}}{% endblock %}
+
+{% block content %}
+<div class="panel panel-danger">
+ <div class="panel-heading">
+ <h3 class="panel-title">Delete this pad</h3>
+ </div>
+
+ <div class="panel-body">
+ <form class="form-horizontal" role="form" method="POST">
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-8">
+ <p class="form-control-static text-center lead">
+ Are you sure you want to delete the pad {{pad}} in the group {{group}}?
+ </p>
+
+ <p class="form-control-static text-center">
+ This will permanently delete all versions and the complete
+ history of the pad.
+ </p>
+ </div>
+ </div>
+
+ {% 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-lg btn-block">Delete pad {{pad}}</button>
+ </div>
+ </div>
+ </form>
+ </div>
+</div>
+{% endblock %}