<form class="form-inline" method="GET" action="{{route('users.index')}}">
    <div class="form-group mb-2">
      <a href="{{route($routeName.'.create')}}">@lang('agendamento.add')</a>
    </div>
    <div class="form-group mx-sm-3 mb-2">
      <input type="search" class="form-control" name="search" placeholder="@lang('agendamento.search')" value="{{$search}}">
    </div>
    <button type="submit" class="btn btn-primary mb-2">@lang('agendamento.search')</button>
    <a class="btn btn-warning mb-2" href="{{route($routeName.'.index')}}">@lang('agendamento.clean')</a>
  </form>