Skip to content

Commit

Permalink
Add id to search form input
Browse files Browse the repository at this point in the history
  • Loading branch information
viggo-devries committed Feb 16, 2024
1 parent 042c6f3 commit fddb6a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oscar/templates/oscar/partials/search.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n %}

<form class="form-inline my-2 my-lg-0" method="GET" action="{% url 'search:search' %}">
<input class="form-control mr-sm-2" name="q" placeholder="{% trans 'Search' %}" aria-label="{% trans 'Search' %}">
<input class="form-control mr-sm-2" name="q" id="id_q" placeholder="{% trans 'Search' %}" aria-label="{% trans 'Search' %}">
<button class="btn btn btn-secondary my-2 my-sm-0" type="submit">{% trans "Search" %}</button>
</form>

0 comments on commit fddb6a3

Please sign in to comment.