@extends('template') @section('content')
Cadastro de Perfis Voltar
{!! Form::open(['route' => $action->route, 'method' => $action->method,'id'=>'template']) !!} {!! Form::hidden('id', $perfil->id) !!}
{!! Form::text('perfil', $perfil->perfil, ['class' => 'form-control', 'autocomplete' => 'off','id'=>'perfil']) !!} {!! Form::label('perfil', 'Perfil de Usuário') !!}
@if(!empty($perfil->id))
{!! Form::select('active', ['yes'=>'Ativo','no'=>'Inativo'], $perfil->active, ['class'=>'form-control']) !!} {!! Form::label('active', 'Status') !!}
@else {!! Form::hidden('active', 'yes') !!} @endif

 

Permissões de Acesso

 

@foreach($modulos as $modulo) @if($modulo->id > 1)

{{$modulo->module_name}}


@endif
@foreach($routes as $route) @if(isset($sub[$modulo->id][$route->id]))

{{ $sub[$modulo->id][$route->id] }}
@endif @if($route->module_id == $modulo->id)
@if($route->label != 'Dashboard') {!! Form::checkbox('permission[]', $route->id, $check[$route->id], ['id'=>$route->id,'class'=>'md-check']) !!} @else {!! Form::hidden('permission[]', $route->id) !!} @endif
@endif @endforeach
@endforeach
Voltar
{!! Form::close() !!}
@stop() @section('js-admin-user-perfil') @stop()