modified searched user blade

This commit is contained in:
2021-04-11 06:02:31 +09:00
parent f06675dd2b
commit b0aa5e3fec

View File

@@ -20,11 +20,11 @@
<td>{{ $user->role }}</td>
<td>{{ $user->permission }}</td>
<td>
{!! Form::open(['action' => 'Dashboard\AdminController@displayModifyUser', 'method' => 'POST']) !!}
{!! Form::open(['action' => 'Dashboard\DashboardAdminController@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\DashboardAdminController@removeUser', 'method' => 'POST']) !!}
{{ Form::hidden('user', $user->name) }}
{{ Form::submit('Remove User', ['class' => 'btn btn-danger']) }}
{!! Form::close() !!}