forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrequest_review.html
More file actions
55 lines (55 loc) · 2.15 KB
/
request_review.html
File metadata and controls
55 lines (55 loc) · 2.15 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{% extends "base.html" %}
{# Copyright The IETF Trust 2016, All Rights Reserved #}
{% load origin django_bootstrap5 static %}
{% block pagehead %}
{{ form.media.css }}
<link rel="stylesheet" href="{% static 'ietf/css/datepicker.css' %}">
{% endblock %}
{% block title %}Request review of {{ doc.name }}{% endblock %}
{% block content %}
{% origin %}
<h1>
Request review
<br>
<small class="text-muted">{{ doc.name }}</small>
</h1>
<p class="my-3">
Submit a request to have the document reviewed.
</p>
<div class="row mb-3">
<div class="col-md-2 fw-bold">Current document revision</div>
<div class="col-md-10">{{ doc.rev }}</div>
</div>
{% if lc_ends %}
<div class="row mb-3">
<div class="col-md-2 fw-bold">Last Call ends</div>
<div class="col-md-10">{{ lc_ends|date:"Y-m-d" }} (in {{ lc_ends_days }} day{{ lc_ends_days|pluralize }})</div>
</div>
{% endif %}
{% if scheduled_for_telechat %}
<div class="row mb-3">
<div class="col-md-2 fw-bold">Scheduled for telechat</div>
<div class="col-md-10">
{{ scheduled_for_telechat|date:"Y-m-d" }} (in {{ scheduled_for_telechat_days }} day{{ scheduled_for_telechat_days|pluralize }})
</div>
</div>
{% endif %}
<form class="form-horizontal" method="post">
{% csrf_token %}
{% bootstrap_field form.requested_by layout="horizontal" %}
{% bootstrap_field form.type layout="horizontal" %}
{% bootstrap_field form.team layout="horizontal" %}
{% bootstrap_field form.deadline layout="horizontal" %}
{% bootstrap_field form.requested_rev layout="horizontal" %}
{% bootstrap_field form.comment layout="horizontal" %}
<button type="submit" class="btn btn-primary">Request review</button>
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.canonical_name %}">
Back
</a>
</form>
{% endblock %}
{% block js %}
<script src="{% static 'ietf/js/datepicker.js' %}"></script>
{{ form.media.js }}
{% endblock %}