+ {{-- PICTURE_ALT --}}
+
+ @include('bo.partials.inputs.varchar', [
+ 'id' => Str::slug($input["label"]) . '-alt',
+ 'label' => __('Alt attribute of the image'),
+ 'hasWordCounter' => true,
+ 'name' => 'data['.$k.'][alt]',
+ 'value' => $model->data->{$k}->alt ?? null,
+ 'required' => true,
+ 'model' => $model ?? null,
+ 'helper' => __('Must describe your image for search engines and blind people (5 to 6 words, minimum 3 characters).'),
+ ])
+
+ {{-- PICTURE_TITLE --}}
+
+ @include('bo.partials.inputs.varchar', [
+ 'id' => Str::slug($input["label"]) . '-title',
+ 'label' => __('Title attribute of the image'),
+ 'hasWordCounter' => true,
+ 'name' => 'data['.$k.'][title]',
+ 'value' => $model->data->{$k}->title ?? null,
+ 'required' => true,
+ 'model' => $model ?? null,
+ 'helper' => __('Useful for users, displayed by moving the mouse over the image (minimum 3 characters).'),
+ ])
+
+ {{-- PICTURE --}}
+
+ @include('bo.partials.inputs.varchar-picture', [
+ 'id' => Str::slug($input["label"]),
+ 'name' => 'data['.$k.'][value]',
+ 'width' => $input['dimensions']['width'],
+ 'height' => $input['dimensions']['height'],
+ 'model' => $model ?? null,
+ 'value' => $model->data->{$k}->value ?? null,
+ 'helper' => __('Must be :widthpx (width) by :heightpx (height).', [
+ 'width' => $input['dimensions']['width'],
+ 'height' => $input['dimensions']['height'],
+ ]),
+ 'required' => true,
+ 'preview' => true,
+ ])
+
+
+