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

{{__('Basic Information')}}

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

{{ __('Status') }}
{!! Form::radio('status', 1, true, ['id'=>'enabled','class'=>'form-check-input']) !!}
{!! Form::radio('status', 0, false, ['id'=>'disabled','class'=>'form-check-input']) !!}
{!! Form::close() !!} @endsection @section('script') @endsection