@if ($view == 'edit' || $view == 'add') required == 1) required @endif type="text" class="form-control" name="{{ $row->field }}" placeholder="{{ old($row->field, $options->placeholder ?? $row->getTranslatedAttribute('display_name')) }}" {!! isBreadSlugAutoGenerator($options) !!} value="{{ old($row->field, $dataTypeContent->{$row->field} ?? $options->default ?? '') }}" {{ auth()->user()->role->name != 'admin' ? 'readonly' : '' }}> @else {{ $content }} @endif