This commit is contained in:
Malibu 2015-02-18 17:00:31 +01:00
commit dc983a9271

View File

@ -36,19 +36,21 @@
<td>Admin</td> <td>Admin</td>
@endif @endif
<td> <td>
&nbsp;&nbsp;
@if ($user->droits == 0) @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="idUser" value="{{ $user->id }}">
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" /> <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> <button type="submit" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-log-in"></span></a>
</form> </form>
@endif @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="idUser" value="{{ $user->id }}">
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" /> <input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
<button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a> <button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
</form> </form>
</td> </div>
</tr> </tr>
@endif @endif