{!! Form::label('parameters[title]', 'Título (Opcional)', ['for' => 'only-image-title']) !!} {!! Form::text('parameters[title]', $data['title'] ?? '', ['class' => 'form-control', 'id' => 'only-image-title', 'placeholder' => 'Ex: Galeria de Fotos']) !!}
{!! Form::label('parameters[subtitle]', 'Subtítulo (Opcional)', ['for' => 'only-image-subtitle']) !!} {!! Form::text('parameters[subtitle]', $data['subtitle'] ?? '', ['class' => 'form-control', 'id' => 'only-image-subtitle', 'placeholder' => 'Ex: Registros do nosso último evento']) !!}
@include('v2-service-landingsectionseditor::components.forms.image-picker', [ 'label' => 'Imagem Central', 'name' => 'parameters[image_id]', 'value' => $data['image_id'] ?? '', 'inputId' => 'only-image-id' ])
{!! Form::label('parameters[background_color]', 'Cor de Fundo', ['for' => 'only-img-bg-color-hex']) !!}
{!! Form::text('parameters[background_color]', $data['background_color'] ?? '#ffffff', ['class' => 'form-control', 'id' => 'only-img-bg-color-hex', 'placeholder' => 'Ex: #ffffff']) !!}
{!! Form::label('parameters[image_size_type]', 'Largura da Imagem', ['for' => 'image-size-type-select-only']) !!} {!! Form::select('parameters[image_size_type]', [ '25' => '25%', '50' => '50%', '100' => '100% (Largura Total)', 'custom' => 'Personalizado (%)' ], $data['image_size_type'] ?? '100', ['class' => 'form-control', 'id' => 'image-size-type-select-only']) !!}
{!! Form::label('parameters[image_size_custom]', 'Porcentagem Personalizada (%)', ['for' => 'only-image-size-custom']) !!} {!! Form::number('parameters[image_size_custom]', $data['image_size_custom'] ?? '', ['class' => 'form-control', 'id' => 'only-image-size-custom', 'min' => 1, 'max' => 100, 'placeholder' => 'Ex: 80']) !!}