{!! Form::open(['route' => ['projects.index'], 'class' => 'form-horizontal', 'method' => 'GET']) !!}
    <div class="row">
        <div class="col-md-offset-2 col-md-8 search-bar">
            <div class="text-center"><h1>Rechercher parmi nos {{ $projects_count }} projets</h1></div>
            <div class="input-group">
                <input class="form-control input-lg" type="text" placeholder="marque, modèle, mots-clés..." name="q" value="{{ $query }}">
                <input type="hidden" name="type" value="projects">
                <div class="input-group-btn">
                    <button class="btn btn-lg btn-primary" type="submit">
                        <i class="fa fa-search" aria-hidden="true"></i>
                    </button>
                </div>
            </div>
            <br>
            <br>
        </div>
    </div>
{!! Form::close() !!}
