bouton tableau

This commit is contained in:
DonRenando 2015-02-18 16:55:17 +01:00
parent 3425dc66d9
commit 0ce3884cac
1 changed files with 5 additions and 3 deletions

View File

@ -36,19 +36,21 @@
<td>Admin</td>
@endif
<td>
&nbsp;&nbsp;
@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