Options

{{ Form::open( ['method'=>'post', 'url' => route('settings-other.update'), 'id' => 'settting_save', 'enctype' => "multipart/form-data" ]) }}
@foreach($setting_others as $setting_other) @if($setting_other['type'] == 'Text' && $setting_other['status'] == 1)
{{ old(' dfsdfstest') }} {{ Form::text( $setting_other['key'], $setting_other['value'], [ 'id' => 'textbox', 'class' => 'form-control', ]) }} {{-- --}} @if ($errors->other_settings->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @if($setting_other['type'] == 'TextArea' && $setting_other['status'] == 1)
@if ($errors->other_settings->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @if($setting_other['type'] == 'CheckBox' && $setting_other['status'] == 1)
@if ($errors->other_settings->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @if($setting_other['type'] == 'RadioButton' && $setting_other['status'] == 1)

@foreach($setting_other['details'] as $list_k => $list_v) {{--
@endif @if($setting_other['type'] == 'CheckBoxGroup' && $setting_other['status'] == 1)

@foreach($setting_other['details'] as $list_k => $list_v) @endforeach
@endif @if($setting_other['type'] == 'List' && $setting_other['status'] == 1)
@if ($errors->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @if($setting_other['type'] == 'RichText' && $setting_other['status'] == 1)
@if ($errors->other_settings->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @if($setting_other['type'] == 'Label' && $setting_other['status'] == 1)

@endif @if($setting_other['type'] == 'File' && $setting_other['status'] == 1)
{{ Form::file($setting_other['key'], [ 'id' => $setting_other['key'], 'class' => 'file-loading file-input', 'data-src' => $setting_other['value'] ] ) }} {{-- --}} @if ($errors->other_settings->has($setting_other['key'])) {{ $errors->other_settings->first($setting_other['key']) }} @endif
@endif @endforeach
{{ Form::close() }}
@section('custom-scripts') @append