@extends('socialite::layouts.admin') @section('content')

{{ trans('socialite::common.manage_groups') }}

{{ Form::label('sort by', 'Sort by:') }} {!! Form::select('manage_users', array('name_asc' => trans('socialite::admin.name_asc'), 'name_desc' => trans('socialite::admin.name_desc'), 'open_group' => trans('socialite::common.open_group'), 'closed_group' => trans('socialite::common.closed_group'), 'secret_group' => trans('socialite::common.secret_group'), 'member_asc' => trans('socialite::common.member_asc'), 'member_desc' => trans('socialite::common.member_desc')), Request::get('sort'), ['class' => 'form-control groupsort']) !!}
@include('flash::message') @if(count($timelines) > 0)
@foreach($timelines as $timeline) @endforeach
  {{ trans('socialite::admin.id') }} {{ trans('socialite::auth.name') }} {{ trans('socialite::common.type') }} {{ trans('socialite::common.members') }} {{ trans('socialite::admin.options') }}  
  {{ $timeline->groups->id }} {{ $timeline->name }} {{ $timeline->name }} {{$timeline->groups->type}} {{ $timeline->groups->users->count() }}
 
{{ $timelines->render() }}
@else
{{ trans('socialite::messages.no_groups') }}
@endif
@endsection