summaryrefslogtreecommitdiffstats
path: root/templates/pad_delete.html
blob: 36a8408ab4d5123db3be450d166154a095c5a889 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends "layout.html" %}
{% from "_formhelpers.html" import render_field %}

{% block content %}
<h1>
  <b>{{ group.name }}</b>
</h1>

<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 %}