@extends ('backend.layouts.app') @section('title') {{ __($module_action) }} {{ $module_title }} @endsection @section('breadcrumbs') {{ $module_title }} {{ __($module_action) }} @endsection @section('content')

{{ __('labels.backend.roles.index.title') }} {{ __('labels.backend.roles.show.action') }}

{{ __('labels.backend.roles.index.sub-title') }}

{{ html()->form('POST', route('backend.roles.store'))->class('form-horizontal')->open() }} {{ csrf_field() }}
{{ html()->label(__('labels.backend.roles.fields.name'))->class('col-md-2 form-control-label')->for('name') }}
{{ html()->text('name') ->class('form-control') ->placeholder(__('labels.backend.roles.fields.name')) ->attribute('maxlength', 191) ->required() }}
{{ html()->label('Abilities')->class('col-md-2 form-control-label') }}
Permissions
@if ($permissions->count()) @foreach($permissions as $permission)
{{ html()->label(html()->checkbox('permissions[]', old('permissions') && in_array($permission->name, old('permissions')) ? true : false, $permission->name)->id('permission-'.$permission->id) . ' ' . $permission->name)->for('permission-'.$permission->id) }}
@endforeach @endif
{{__('Create')}}
{{ html()->form()->close() }}
@endsection