@php $error_class = $errors->has('menu_action_id') ? 'parsley-error ' : ''; @endphp
{{ Form::select('menu_action_id', $menu_action_list, null, ['class' => $error_class.'form-control select2', 'id' => 'menu_action_id', 'placeholder' => trans('user_menu_action/attribute.label_select_menu_action_id'), 'required' => false]) }} @if ($errors->has('menu_action_id'))

{{$errors->first('menu_action_id')}}

@endif
@php $error_class = $errors->has('parent_id') ? 'parsley-error ' : ''; @endphp
{{ Form::select('parent_id', $parent_user_menu_actions, null, ['class' => $error_class.'form-control select2', 'id' => 'parent_id', 'placeholder' => trans('user_menu_action/attribute.label_select_one'), 'required' => false]) }} @if ($errors->has('parent_id'))

{{$errors->first('parent_id')}}

@endif
@php $error_class = $errors->has('name') ? 'parsley-error ' : ''; @endphp
{{ Form::text('name', null, ['class' => $error_class.'form-control', 'id' => 'name', 'required' => false]) }} @if ($errors->has('name'))

{{$errors->first('name')}}

@endif
@php $error_class = $errors->has('bn_name') ? 'parsley-error ' : ''; @endphp
{{ Form::text('bn_name', null, ['class' => $error_class.'form-control', 'id' => 'bn_name', 'required' => false]) }} @if ($errors->has('bn_name'))

{{$errors->first('bn_name')}}

@endif
@php $error_class = $errors->has('route_name') ? 'parsley-error ' : ''; @endphp
{{ Form::text('route_name',null, ['class' => $error_class.'form-control', 'id' => 'route_name', 'required' => false]) }} @if ($errors->has('route_name'))

{{$errors->first('route_name')}}

@endif
@php $error_class = $errors->has('type') ? 'parsley-error ' : ''; @endphp *
{{ Form::select('type', \App\Models\UserMenuAction::type(), null, ['class' => $error_class.'form-control', 'id' => 'type', 'required' => 1]) }} @if ($errors->has('type'))

{{$errors->first('type')}}

@endif
@php $error_class = $errors->has('slug') ? 'parsley-error ' : ''; @endphp
{{ Form::text('slug',null, ['class' => $error_class.'form-control', 'id' => 'slug', 'required' => false]) }} @if ($errors->has('slug'))

{{$errors->first('slug')}}

@endif
@php $error_class = $errors->has('class') ? 'parsley-error ' : ''; @endphp
{{ Form::text('class',null, ['class' => $error_class.'form-control', 'id' => 'class', 'required' => false]) }} @if ($errors->has('class'))

{{$errors->first('class')}}

@endif
@php $error_class = $errors->has('order_by') ? 'parsley-error ' : ''; @endphp *
{{ Form::number('order_by', null, ['class' => $error_class.'form-control', 'min' => 1, 'id' => 'order_by', 'required' => 1]) }} @if ($errors->has('order_by'))

{{$errors->first('order_by')}}

@endif
@php $error_class = $errors->has('is_hidden') ? 'parsley-error ' : ''; @endphp *
{{ Form::radio('is_hidden', 'Yes',null, ['class' => 'form-check-input', 'id' => 'is_hidden_yes', 'required' => 1,]) }}
{{ Form::radio('is_hidden', 'No',null, ['class' => 'form-check-input', 'id' => 'is_hidden_no', 'required' => 1,'checked' => old('is_hidden') ? null : (@$user_menu_action->is_hidden == 'Yes' ? false : true)]) }}
@if ($errors->has('is_hidden'))

{{$errors->first('is_hidden')}}

@endif
@php $error_class = $errors->has('show_in_table') ? 'parsley-error ' : ''; @endphp
{{ Form::radio('show_in_table', '1',null, ['class' => 'form-check-input', 'id' => 'show_in_table_active', 'required' => false,'checked' => true]) }}
{{ Form::radio('show_in_table', '0',null, ['class' => 'form-check-input', 'id' => 'show_in_table_inactive', 'required' => 1 ]) }}
@if ($errors->has('show_in_table'))

{{$errors->first('show_in_table')}}

@endif
@php $error_class = $errors->has('new_tab') ? 'parsley-error ' : ''; @endphp
{{ Form::radio('new_tab', '1',null, ['class' => 'form-check-input', 'id' => 'new_tab_active', 'required' => false,]) }}
{{ Form::radio('new_tab', '0',null, ['class' => 'form-check-input', 'id' => 'new_tab_inactive', 'required' => 1 ,'checked' => @$user_menu_action->new_tab == 1 ? false : true]) }}
@if ($errors->has('new_tab'))

{{$errors->first('new_tab')}}

@endif
@php $error_class = $errors->has('status') ? 'parsley-error ' : ''; @endphp *
{{ Form::radio('status', '1',null, ['class' => 'form-check-input', 'id' => 'active', 'required' => 1, 'checked' => 1]) }}
{{ Form::radio('status', '0',null, ['class' => 'form-check-input', 'id' => 'inactive', 'required' => 1]) }}
@if ($errors->has('status'))

{{$errors->first('status')}}

@endif
@section('script') @endsection