Notice: Undefined variable: field in /var/www/html/resources/views/vendor/admin/panel/inc/field_wrapper_attributes.blade.php on line 2
@if (isset($field['wrapperAttributes']))
@foreach ($field['wrapperAttributes'] as $attribute => $value)
@if (is_string($attribute))
@if ($attribute == 'class' and isset($field['type']) and $field['type'] == 'image')
{{ $attribute }}="{{ $value }} image"
@else
{{ $attribute }}="{{ $value }}"
@endif
@endif
@endforeach
@if (!isset($field['wrapperAttributes']['class']))
@if (isset($field['type']) and $field['type'] == 'image')
class="form-group col-md-12 image{{ $errors->has($var_name) ? ' has-error' : '' }}"
@else
class="form-group col-md-12{{ $errors->has($var_name) ? ' has-error' : '' }}"
@endif
@endif
@else
@if (isset($field['type']) and $field['type'] == 'image')
class="form-group col-md-12 image{{ $errors->has($var_name) ? ' has-error' : '' }}"
@else
class="form-group col-md-12{{ $errors->has($var_name) ? ' has-error' : '' }}"
@endif
@endif