Skip to content

Commit 6543996

Browse files
authored
fix: Use an input field for draft submit status search (ietf-tools#3758)
1 parent 0250ea0 commit 6543996

1 file changed

Lines changed: 2 additions & 13 deletions

File tree

ietf/templates/submit/search_submission.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,7 @@
1313
{% csrf_token %}
1414
<div class="mb-3">
1515
<label class="form-label">I-D name</label>
16-
<select class="form-control select2-field"
17-
data-placeholder="draft-..."
18-
data-ajax--url="{% url 'ietf.doc.views_search.ajax_select2_search_docs' model_name='docalias' doc_type='draft' %}"
19-
data-max-entries="1"
20-
data-result-key="text"
21-
name="name">
22-
{% if name %}
23-
<option id="{{ name }}" selected>
24-
{{ name }}
25-
</option>
26-
{% endif %}
27-
</select>
16+
<input class="form-control" name="name" placeholder="draft-..." required>
2817
</div>
2918
{% if error %}
3019
<p class="alert alert-danger my-3">
@@ -33,4 +22,4 @@
3322
{% endif %}
3423
<input class="btn btn-primary" type="submit" value="See status">
3524
</form>
36-
{% endblock %}
25+
{% endblock %}

0 commit comments

Comments
 (0)