<form class="input-group" action="{% url 'search' %}" method="get">
  <input name="q" type="text" aria-label="Search" placeholder="Search" class="form-control" />
  <button class="btn btn-primary" type="submit">
    <i class="mdi mdi-magnify"></i>
  </button>
</form>
