Blame view
resources/views/admin/groups/ajax.blade.php
504 Bytes
4c66e360c Справочник докуме... |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
@foreach($users as $user) <tr class="text-gray-700 dark:text-gray-400"> <td class="px-4 py-3"> {{$user->id}} </td> <td class="px-4 py-3"> {{$user->name}} </td> <td class="px-4 py-3"> <input type="checkbox" id="user{{$user->id}}" name="usergroup[]" value="{{$user->id}}" <?php if ($user->ingroup->contains('id', $group->id)) {?>checked<? }?>/> </td> </tr> @endforeach |