Merge branch 'master' of https://github.com/matthieupenchenat81/ModuleWeb
This commit is contained in:
commit
dc983a9271
@ -36,19 +36,21 @@
|
|||||||
<td>Admin</td>
|
<td>Admin</td>
|
||||||
@endif
|
@endif
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
@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
|
||||||
|
Reference in New Issue
Block a user