@extends('admins.layouts.index') @section('content') {!! Form::model($model, ['class'=>'form-horizontal','method'=>'post']) !!}

{{__('Basic Information')}}

{!! Form::label('name', __('Name'), ['class'=>'col-sm-4 col-form-label text-right']) !!}
{!! Form::text('name', null, ['id'=>'name','class'=>'form-control-plaintext '.($errors->first('name') ? 'is-invalid' : ''),'placeholder'=>__('Name'),'disabled']) !!} {!!$errors->first('name', ':message')!!}

{{__('Basic Information')}}

{{__('Please tick on the checkbox to allow the permissions:-')}}
{{ $errors->first('permissions', ':message') }}
@foreach ($permissions as $controller => $resources)

{{ ucfirst($controller) }}


@foreach ($resources as $row)
@endforeach
@endforeach

{{__('More Information')}}

{!! Form::label('status', __('Status'), ['class'=>'col-sm-4 col-form-label text-right']) !!}
{!! Form::text('status', $model->string_status_displayed('status'), ['id'=>'status','class'=>'form-control-plaintext '.($errors->first('status') ? 'is-invalid' : ''),'placeholder'=>__('Status'),'disabled']) !!} {!!$errors->first('status', ':message')!!}
{!! Form::close() !!} @endsection @section('script') @endsection