InvenTree/InvenTree/templates/search_form.html
2020-04-05 20:56:16 +10:00

10 lines
429 B
HTML

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