* 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
21 lines
667 B
PHP
21 lines
667 B
PHP
<div class="content">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="form-group">
|
|
{{ Form::open(['route' => 'admin.users.index', 'method' => 'GET', 'class'=>'form-inline pull-right']) }}
|
|
|
|
{{ Form::label('name', 'Name:') }}
|
|
{{ Form::text('name', null, ['class' => 'form-control']) }}
|
|
|
|
{{ Form::label('email', 'Email:') }}
|
|
{{ Form::text('email', null, ['class' => 'form-control']) }}
|
|
|
|
{{ Form::submit('find', ['class' => 'btn btn-primary']) }}
|
|
|
|
<a href="{{ route('admin.users.index') }}">clear</a>
|
|
{{ Form::close() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|