datatracker/ietf/templates/submit/search_submission.html
Lars Eggert 323d890252
fix: Search for docalias, not document (#3635)
Fixes #3605.

Co-authored-by: Robert Sparks <rjsparks@nostrum.com>
2022-03-14 11:49:23 -05:00

36 lines
1.3 KiB
HTML

{% 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='docalias' 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 %}