Fixes and cleanup for user pending/registration calls
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user