InvenTree/InvenTree/templates/search_form.html
2021-11-15 23:06:15 +11:00

12 lines
520 B
HTML

{% load i18n %}
<form class="d-flex" action="{% url 'search' %}" method='post'>
{% csrf_token %}
<div class='input-group'>
<input type="text" name='search' class="form-control" aria-label='{% trans "Search" %}' id="search-bar" placeholder="{% trans 'Search' %}"{% if query_text %} value="{{ query }}"{% endif %}>
<button type="submit" id='search-submit' class="btn btn-secondary" title='{% trans "Search" %}'>
<span class='fas fa-search'></span>
</button>
</div>
</form>