forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlast_call.html
More file actions
40 lines (40 loc) · 1.44 KB
/
last_call.html
File metadata and controls
40 lines (40 loc) · 1.44 KB
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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% block title %}Last call text for {{ doc }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Last call text
<br>
<small class="text-muted">{{ doc }}</small>
</h1>
<form class="my-3 edit-last-call-text" method="post">
{% csrf_token %}
{% bootstrap_form last_call_form %}
<button type="submit"
class="btn btn-primary"
name="save_last_call_text"
value="Save Last Call Text">Save text</button>
<button type="submit"
class="btn btn-warning"
name="send_last_call_request"
value="Save and Request Last Call">
Save text & request last call
</button>
{% if user|has_role:"Secretariat" %}
<a class="btn btn-warning"
href="{% url 'ietf.doc.views_ballot.make_last_call' name=doc.name %}">Issue last call</a>
{% endif %}
<button type="submit"
class="btn btn-danger"
name="regenerate_last_call_text"
value="Regenerate Last Call Text">
Reset to template text
</button>
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
</form>
{% endblock %}