@extends('app-new') @push('head-script') @endpush @push('content-header') @endpush @section('content') {!! Form::model($role, ['method' => isset($role) && $role->id ? 'put' : 'post', 'files' => 'true']) !!}
{{trans('manager/manager_create.role_details')}}
{{trans('manager/manager_create.enter_role_details')}}
{!! Form::text('name', isset($role) && $role->name ? $role->name : old('name'), ['class' => 'form-control', 'id' => 'name']) !!} {!! $errors->first('name', ' ')!!}
{!! Form::text('description', isset($role) && $role->description ? $role->description : old('description'), ['class' => 'form-control', 'id' => 'description']) !!} {!! $errors->first('description', ' ')!!}
{{trans('manager/manager_create.this_role_can')}}
@foreach($modules as $module)
@foreach($module->sub_menu as $sub_module) @if (count($sub_module->permissions)>0)


@endif @foreach($sub_module->permissions as $perm) can_role($perm->alias)) checked @endif type="checkbox"> @endforeach @endforeach
@endforeach



{!! Form::close() !!} @endsection @push('footer-script') @endpush