@extends(Theme::viewName('layout')) @section('title', trans('admin.list_groups_title')) @section('breadcrumb') @endsection @section('content')

@yield('title')

@lang('admin.list_groups_intro')
@if (count($groups) == 0)

@lang('admin.no_groups_title')

@lang('admin.no_groups_text')

@lang('admin.create_group')

@else @foreach ($groups as $group) @endforeach
{{ $group->name }}
{{ trans_choice('admin.group_number_users', $group->users()->count()) }}
@lang('forms.delete_action')
{{ $groups->links() }}
@endif
@endsection