forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch_submission.html
More file actions
36 lines (36 loc) · 1.28 KB
/
search_submission.html
File metadata and controls
36 lines (36 loc) · 1.28 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 "submit/submit_base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin %}
{% load django_bootstrap5 %}
{% block title %}Submission status{% endblock %}
{% block submit_content %}
{% origin %}
<p class="my-3">
Please enter the name of the Internet-Draft you wish to view the
submission status of.
</p>
<form method="post">
{% csrf_token %}
<div class="mb-3">
<label class="form-label">I-D name</label>
<select class="form-control select2-field"
data-placeholder="draft-..."
data-ajax--url="{% url 'ietf.doc.views_search.ajax_select2_search_docs' model_name='document' doc_type='draft' %}"
data-max-entries="1"
data-result-key="text"
name="name">
{% if name %}
<option id="{{ name }}" selected>
{{ name }}
</option>
{% endif %}
</select>
</div>
{% if error %}
<p class="alert alert-danger my-3">
{{ error }}
</p>
{% endif %}
<input class="btn btn-primary" type="submit" value="See status">
</form>
{% endblock %}