Skip to content

Commit 5bc15c4

Browse files
committed
Summary: Fix some visual glitches with the IPR search page
- Legacy-Id: 8898
1 parent b3823d5 commit 5bc15c4

1 file changed

Lines changed: 9 additions & 10 deletions

File tree

ietf/templates/ipr/search_form.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22

33
<h1>IPR Search</h1>
44

5-
<form role="form" id="search-form">
5+
<form role="form">
66
{% if user|has_role:"Secretariat" %}
7-
<h2>State Filter</h2>
7+
<div class="col-md-12">
8+
<h2>State Filter</h2>
89

9-
<div class="form-group">
10-
{{ form.state.label_tag }}
11-
<div class="input-group">
10+
<div class="form-group">
11+
{% bootstrap_label form.state.label label_for=form.state.id_for_label label_class="control-label" %}
12+
1213
{% render_field form.state %}
1314
</div>
1415
</div>
1516
{% endif %}
1617

17-
<div class="row">
1818
<div class="col-md-6">
1919
<h2>Document search</h2>
2020

2121
<div class="form-group">
22-
{{ form.draft.label_tag }}
23-
<div class="input-group">
22+
{% bootstrap_label form.draft.label label_for=form.draft.id_for_label label_class="control-label" %}
23+
<div class="input-group">
2424
{% render_field form.draft class="form-control" placeholder="draft-..." %}
2525
<span class="input-group-btn">
2626
<button class="btn btn-primary" type="submit" name="submit" value="draft"><span class="fa fa-search"></span> Search</button>
@@ -29,7 +29,7 @@ <h2>Document search</h2>
2929
</div>
3030

3131
<div class="form-group">
32-
{{ form.rfc.label_tag }}
32+
{% bootstrap_label form.rfc.label label_for=form.rfc.id_for_label label_class="control-label" %}
3333
<div class="input-group">
3434
{% render_field form.rfc class="form-control" placeholder="123..." %}
3535
<span class="input-group-btn">
@@ -96,7 +96,6 @@ <h2>IPR search</h2>
9696
<span class="help-block">This search string must contain at least three characters, including at least one digit, and include punctuation marks. For best results, please enter the entire string, or as much of it as possible.</span>
9797
</div>
9898
</div>
99-
</div>
10099

101100
<a class="btn btn-default pull-right" href="{% url "ietf.ipr.views.showlist" %}">Back</a>
102101

0 commit comments

Comments
 (0)