@extends('layouts.crud') @section('title', 'Perfis - Cadastrar Novo') @section('content') @section('js') @stop

Editar Perfis da Permissão: {{$permissoes->nome }}

@if($errors->any()) @endif {!! Form::open(['route'=>["permissoes.update_perfis", 'id'=>\Crypt::encrypt($permissoes->id)], 'method'=>'post']) !!} @foreach($perfis as $perfil) @endforeach
{!! Form::checkbox('check_all', null) !!} Perfis {!! Form::checkbox('check_visualizar', null) !!} Visualizar {!! Form::checkbox('check_criar', null) !!} Criar {!! Form::checkbox('check_editar', null) !!} Editar {!! Form::checkbox('check_deletar', null) !!} Deletar
{!! Form::checkbox('linha['.$perfil->id.']', null) !!} {{ $perfil->nome }} {!! Form::checkbox('index['.$perfil->id.']', true, $perfil->index ?? false) !!} {!! Form::checkbox('create['.$perfil->id.']', true, $perfil->create ?? false) !!} {!! Form::checkbox('edit['.$perfil->id.']', true, $perfil->edit ?? false) !!} {!! Form::checkbox('destroy['.$perfil->id.']', true, $perfil->destroy ?? false) !!}
{!! Form::reset('Limpar', ['class'=>'btn btn-default']) !!} {!! Form::submit('Editar', ['class'=>'btn btn-primary']) !!}
{!! Form::close() !!}
@stop @section('table-delete') "perfis" @stop