forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapprovaltext.html
More file actions
36 lines (36 loc) · 1.24 KB
/
approvaltext.html
File metadata and controls
36 lines (36 loc) · 1.24 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% load ietf_filters %}
{% block title %}Approval announcement writeup for {{ doc }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Approval announcement writeup
<br>
<small class="text-muted">{{ doc }}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form approval_text_form %}
<button type="submit"
class="btn btn-primary"
name="save_approval_text"
value="Save text">Save text</button>
<button type="submit"
class="btn btn-warning"
name="regenerate_approval_text"
value="Regenerate text">
Regenerate text
</button>
{% if user|has_role:"Secretariat" and can_announce %}
<a class="btn btn-primary"
href="{% url 'ietf.doc.views_ballot.approve_ballot' name=doc.name %}">Approve ballot</a>
{% endif %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}