<form id="form_search" action="{% url 'search' %}" method="GET" class = "navbar-form navbar-left" role="search">
        <div class = "form-group">
            <label class = "sr-only" for = "name">search</label>
            <input class="form-control" type="text" name="q" placeholder="search" value="{{ request.GET.q }}">
        </div>
        <button type = "submit" class = "btn btn-default">Search</button>
</form>