{!! Form::text('code',null,[ 'class' => 'form-control', 'id' => 'code', 'disabled' ]) !!} {{ $errors->has('code') ? "".$errors->first('code')."" : '' }}
{!! Form::text('type',null,[ 'class' => 'form-control', 'id' => 'type', 'disabled' ]) !!} {{ $errors->has('type') ? "".$errors->first('type')."" : '' }}
{!! Form::text('label',null,[ 'class' => 'form-control', 'id' => 'label', 'disabled' ]) !!} {{ $errors->has('label') ? "".$errors->first('label')."" : '' }}
@if(@$setting->type == 'FILE')
@if(!empty($setting->value)) value) : asset('storage/default.png') !!}" alt="user-img" class="img-circle"> @else user-img @endif
{!! Form::file('value',['id' => 'hidden','accept'=>"image/*"]) !!}
@else
{!! Form::text('value',null,[ 'class' => 'form-control', 'id' => 'value', 'maxlength' => '200' ]) !!} {{ $errors->has('value') ? "".$errors->first('value')."" : '' }}
@endif
{{ $errors->has('hidden') ? "".$errors->first('hidden')."" : '' }}
@section('styles') @endsection @section('scripts') @endsection