users page updated

This commit is contained in:
2021-03-20 18:22:25 +09:00
parent 1a61f7939b
commit e2289f1727

View File

@@ -29,11 +29,11 @@
<td>{{ $user->role }}</td>
<td>{{ $user->permission }}</td>
<td>
{!! Form::open(['action' => 'Dashboard\AdminController@displayModifyUser', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Dashboard\AdminDashboardController@displayModifyUser', 'method' => 'POST']) !!}
{{ Form::hidden('user', $user->name) }}
{{ Form::submit('Modify User', ['class' => 'btn btn-primary']) }}
{!! Form::close() !!}
{!! Form::open(['action' => 'Dashboard\AdminController@removeUser', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Dashboard\AdminDashboardController@removeUser', 'method' => 'POST']) !!}
{{ Form::hidden('user', $user->name) }}
{{ Form::submit('Remove User', ['class' => 'btn btn-danger']) }}
{!! Form::close() !!}