Make name and e-mail based searches with like for easier administration. (#1397)

* Update UserRepository.php

Make `name` and `e-mail` based searches with `like` for easier administration and search.

* Update search.blade.php

Remove old dashed out code

* Update index.blade.php

Add proper state selections
This commit is contained in:
B.Fatih KOZ
2022-02-08 00:02:17 +03:00
committed by GitHub
parent 94735103aa
commit 08624042f2
3 changed files with 21 additions and 13 deletions

View File

@@ -10,12 +10,6 @@
{{ Form::label('email', 'Email:') }}
{{ Form::text('email', null, ['class' => 'form-control']) }}
 
{{--{{ Form::label('dep_icao', 'Departure:') }}
{{ Form::select('dep_icao', $airports, null , ['class' => 'form-control']) }}
 
{{ Form::label('arr_icao', 'Arrival:') }}
{{ Form::select('arr_icao', $airports, null , ['class' => 'form-control']) }}
 --}}
{{ Form::submit('find', ['class' => 'btn btn-primary']) }}
 
<a href="{{ route('admin.users.index') }}">clear</a>