File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change 1
1
{% load i18n %}
2
+ < search class ="search form-input " aria-labelledby ="docs-search-label ">
3
+ < form action ="{% url 'document-search' version=version lang=lang host 'docs' %} ">
4
+ < label id ="docs-search-label " class ="visuallyhidden " for ="{{ form.q.id_for_label }} "> {{ form.q.field.widget.attrs.placeholder }}</ label >
5
+ {{ form.q }}
2
6
3
- < form action ="{% url 'document-search' version=version lang=lang host 'docs' %} " class ="search form-input " role ="search ">
4
- < label class ="visuallyhidden " for ="id_q "> Search:</ label >
5
- {{ form.q }}
6
-
7
- < button type ="submit ">
8
- < i class ="icon icon-search "> </ i >
9
- < span class ="visuallyhidden "> {% trans 'Search' %}</ span >
10
- </ button >
11
- </ form >
7
+ < button type ="submit ">
8
+ < i class ="icon icon-search " aria-hidden ="true "> </ i >
9
+ < span class ="visuallyhidden "> {% translate "Submit" %}</ span >
10
+ </ button >
11
+ </ form >
12
+ </ search >
You can’t perform that action at this time.
0 commit comments