bouton tableau
This commit is contained in:
parent
3425dc66d9
commit
0ce3884cac
@ -36,19 +36,21 @@
|
||||
<td>Admin</td>
|
||||
@endif
|
||||
<td>
|
||||
|
||||
@if ($user->droits == 0)
|
||||
<form method="POST" role="form" action="logAs">
|
||||
<form method="POST" style = "float: left;" role="form" action="logAs">
|
||||
<input type="hidden" name="idUser" value="{{ $user->id }}">
|
||||
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
|
||||
<button type="submit" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-log-in"></span></a>
|
||||
</form>
|
||||
@endif
|
||||
<form method="POST" role="form" action="deleteUser">
|
||||
|
||||
<form method="POST" role="form" style = "float: left;" action="deleteUser">
|
||||
<input type="hidden" name="idUser" value="{{ $user->id }}">
|
||||
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
|
||||
<button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
|
||||
</form>
|
||||
</td>
|
||||
</div>
|
||||
</tr>
|
||||
|
||||
@endif
|
||||
|
Reference in New Issue
Block a user