diff --git a/resources/views/admin/dashboard.blade.php b/resources/views/admin/dashboard.blade.php index f7cf2c25c..6b3d4afe7 100644 --- a/resources/views/admin/dashboard.blade.php +++ b/resources/views/admin/dashboard.blade.php @@ -7,7 +7,6 @@

-
-
-
-
-
- Remove User -
-
- {!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!} -
- {{ Form::label('user', 'User') }} - {{ Form::select('user', $data['users'], null, ['class' => 'form-control']) }} -
- {{ Form::submit('Submit', ['class' => 'btn btn-primary']) }} - {!! Form::close() !!} -
-
-
-
-
-
+
@@ -56,7 +35,12 @@ {{ implode(', ', $perm) }} @endforeach - + @endforeach
Remove, Modify + {!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!} + {{ Form::hidden('user', $user['name']) }} + {{ Form::submit('Remove User', ['class' => 'btn btn-primary']) }} + {!! Form::close() !!} +