{{ Form::open(['route' => 'permission.save','method' => 'post','data-toggle'=>"validator"]) }}
{{ Form::hidden('type',$type) }}
{{ Form::hidden('id',-1) }}
{{ Form::label('name',__('message.name').' *', ['class' => 'form-control-label'],false) }}
{{ Form::text('name', null, [ 'placeholder' => __('message.name') ,'class' => 'form-control' ,'required']) }}
@if( $type == 'permission' )
{{ Form::label('parent_id',__('message.parent_permission'), ['class' => 'form-control-label']) }}
@endif