Fixes and cleanup for user pending/registration calls

This commit is contained in:
Nabeel Shahzad
2017-12-22 16:32:21 -06:00
parent 81ac281d9f
commit babdca627e
16 changed files with 237 additions and 60 deletions

View File

@@ -50,10 +50,9 @@
<div class="row">
<div class="form-group col-sm-6">
{!! Form::label('active', 'Active:') !!}
{!! Form::label('state', 'State:') !!}
<label class="checkbox-inline">
{!! Form::hidden('active', 0, false) !!}
{!! Form::checkbox('active', 1, null) !!}
{!! Form::select('state', PilotState::labels(), null, ['class' => 'form-control select2']) !!}
</label>
</div>

View File

@@ -3,7 +3,7 @@
@section('title', 'Users')
@section('actions')
<li><a href="{!! route('admin.users.index') !!}?search=state:0">
<i class="ti-plus"></i>{!! PilotState::label(PilotState::PENDING) !!}</a>
<i class="ti-user"></i>{!! PilotState::label(PilotState::PENDING) !!}</a>
</li>
@endsection