@extends('themes.base.layout') @section('title', trans('admin.edit_group_title', ['group_name' => $group->name])) @section('breadcrumb') @endsection @section('content')

@yield('title')

@lang('admin.edit_group_intro')


{!! Form::model($group, ['route' => ['groups.update', $group->id], 'method' => 'PUT']) !!}
{{-- Nav tabs --}} {{-- Tab panes --}}
{{-- Details --}}
{!! Form::label('name', trans('forms.name_label'), ['class' => 'control-label']) !!} {!! Form::text('name', old('name'), ['class' => 'form-control']) !!} @if ($errors->has('name')) {{ $errors->first('name') }} @endif
@lang('forms.cancel_action')
{{-- Users --}}
@if ($group->users()->count() > 0)

@lang('admin.group_users_message', ['group_name' => $group->name])

@else

@lang('admin.group_no_users_message')

@lang('admin.users_title')

@endif
{!! Form::close() !!}
@endsection