@extends('layouts.app') @section('page-title', __('Groups')) @section('page-heading', __('Groups')) @section('breadcrumbs') @stop @section('content') @include('partials.messages')
@if (Request::has('search') && Request::get('search') != '') @endif
@if(auth()->user()->hasRole('Admin') || auth()->user()->hasRole('Manager')) @endif
@if (count($groups)) @foreach ($groups as $group) @endforeach @else @endif
@lang('Group Name') @lang('Type') @lang('Actions')
{{ $group->name }} {{ $group->type == \Vanguard\Group::TYPE_CONTACT ? 'Contact' : 'Email' }} @csrf @method('DELETE')
@lang('No records found.')
{!! $groups->render() !!} @stop @section('scripts') @stop