BookStack/resources/views/components/user-select-list.blade.php

9 lines
431 B
PHP
Raw Normal View History

<a href="#" class="flex-container-row items-center dropdown-search-item" data-id="">
<span>{{ trans('settings.users_none_selected') }}</span>
</a>
2020-12-31 18:25:20 +01:00
@foreach($users as $user)
<a href="#" class="flex-container-row items-center dropdown-search-item" data-id="{{ $user->id }}">
<img class="avatar mr-m" src="{{ $user->getAvatar(30) }}" alt="{{ $user->name }}">
<span>{{ $user->name }}</span>
</a>
@endforeach