forked from ietf-tools/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadd_comment.html
More file actions
29 lines (29 loc) · 1.06 KB
/
add_comment.html
File metadata and controls
29 lines (29 loc) · 1.06 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
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Add comment for
{% if review_req %} {{ review_req }} {% else %} {{ doc }} {% endif %} {% endblock %}
{% block content %}
{% origin %}
<h1>
Add comment
<br>
<small class="text-body-secondary">{% if review_req %} {{ review_req }} {% else %} {{ doc }} {% endif %}</small>
</h1>
<form method="post">
{% csrf_token %}
{% bootstrap_form form %}
<p class="form-text">
The comment will be added to the history trail.
</p>
{% bootstrap_button button_type="submit" content="Submit" %}
{% if review_req %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_review.review_request" name=doc.name request_id=review_req.pk %}">Back</a>
{% else %}
<a class="btn btn-secondary float-end"
href="{% url "ietf.doc.views_doc.document_main" name=doc.name %}">Back</a>
{% endif %}
</form>
{% endblock %}