Rename PilotState class to UserState

This commit is contained in:
Nabeel Shahzad
2017-12-30 20:40:32 -06:00
parent 778780f3f2
commit 81e82629ac
13 changed files with 56 additions and 60 deletions

View File

@@ -13,14 +13,14 @@
<td>{!! $user->email !!}</td>
<td>{!! show_date($user->created_at) !!}</td>
<td class="text-center">
@if($user->state == PilotState::ACTIVE)
@if($user->state == UserState::ACTIVE)
<span class="label label-success">
@elseif($user->state == PilotState::PENDING)
@elseif($user->state == UserState::PENDING)
<span class="label label-warning">
@else
<span class="label label-default">
@endif
{!! PilotState::label($user->state) !!}</span>
{!! UserState::label($user->state) !!}</span>
</td>
<td class="text-right">
{!! Form::open(['route' => ['admin.users.destroy', $user->id], 'method' => 'delete']) !!}