forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdelete.html
More file actions
29 lines (25 loc) · 950 Bytes
/
delete.html
File metadata and controls
29 lines (25 loc) · 950 Bytes
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
{% extends "base_site.html" %}
{% block title %}Rolodex - Delete{% endblock %}
{% block breadcrumbs %}{{ block.super }}
» <a href="../../">Rolodex</a>
» <a href="../">{{ person }}</a>
» Delete
{% endblock %}
{% block content %}
<h1>Are you sure?</h1>
<p>Are you sure you want to delete the Rolodex Entry "{{ person.name }} ({{ person.id }})"? All of the following related items will be deleted:</p>
<ul><li>Rolodex Entry: <a href="{% url 'ietf.secr.rolodex.views.view' id=person.id %}">{{ person.name }} ({{ person.id }})</a>
<ul>
{% for email in person.email_set.all %}
<li>Email Address: {{ email.address }}</li>
{% endfor %}
{% for role in person.role_set.all %}
<li>{{ role }}</li>
{% endfor %}
</ul>
</li></ul>
<form action="" method="post">{% csrf_token %}
<input type="hidden" name="post" value="yes" />
<input type="submit" value="Yes, I'm sure" />
</form>
{% endblock %}