{!! Form::label('parameters[title]', 'Título', ['for' => 'text-image-title']) !!} {!! Form::text('parameters[title]', $data['title'] ?? '', ['class' => 'form-control', 'required' => 'required', 'aria-required' => 'true', 'id' => 'text-image-title', 'placeholder' => 'Ex: Sobre Nós']) !!}
{!! Form::label('parameters[subtitle]', 'Subtítulo (Opcional)', ['for' => 'text-image-subtitle']) !!} {!! Form::text('parameters[subtitle]', $data['subtitle'] ?? '', ['class' => 'form-control', 'id' => 'text-image-subtitle', 'placeholder' => 'Ex: Conheça nossa trajetória']) !!}
@include('v2-service-contentricheditor::components.forms.content-rich-editor', [ 'name' => 'parameters[text]', 'value' => $data['text'] ?? '', 'label' => 'Conteúdo', 'required' => false ])
{!! Form::label('parameters[text_alignment]', 'Alinhamento do Texto', ['for' => 'text-image-alignment']) !!} {!! Form::select('parameters[text_alignment]', [ 'left' => 'Esquerda', 'center' => 'Centralizado', 'right' => 'Direita', 'justify' => 'Justificado' ], $data['text_alignment'] ?? 'left', ['class' => 'form-control', 'id' => 'text-image-alignment']) !!}
{!! Form::label('parameters[image_position]', 'Posição da Imagem', ['for' => 'text-image-position']) !!} {!! Form::select('parameters[image_position]', [ 'left' => 'Esquerda do Texto', 'right' => 'Direita do Texto', 'top' => 'Acima do Texto', 'bottom' => 'Abaixo do Texto' ], $data['image_position'] ?? 'left', ['class' => 'form-control', 'id' => 'text-image-position']) !!}
{!! Form::label('parameters[image_size_type]', 'Tamanho Relativo da Imagem', ['for' => 'image-size-type-select']) !!} {!! Form::select('parameters[image_size_type]', [ '25' => '25%', '50' => '50%', '100' => '100% (Largura Total)', 'custom' => 'Personalizado (%)' ], $data['image_size_type'] ?? '50', ['class' => 'form-control', 'id' => 'image-size-type-select']) !!}
{!! Form::label('parameters[image_size_custom]', 'Porcentagem Personalizada (%) da Imagem', ['for' => 'text-image-size-custom']) !!} {!! Form::number('parameters[image_size_custom]', $data['image_size_custom'] ?? '', ['class' => 'form-control', 'id' => 'text-image-size-custom', 'min' => 1, 'max' => 100, 'placeholder' => 'Ex: 45']) !!}
{!! Form::label('parameters[background_color]', 'Cor de Fundo', ['for' => 'text-image-bg-color-hex']) !!}
{!! Form::text('parameters[background_color]', $data['background_color'] ?? '#ffffff', ['class' => 'form-control', 'id' => 'text-image-bg-color-hex', 'placeholder' => 'Ex: #ffffff']) !!}
{!! Form::label('parameters[text_color]', 'Cor do Texto', ['for' => 'text-image-text-color-hex']) !!}
{!! Form::text('parameters[text_color]', $data['text_color'] ?? '#333333', ['class' => 'form-control', 'id' => 'text-image-text-color-hex', 'placeholder' => 'Ex: #333333']) !!}
@include('v2-service-landingsectionseditor::components.forms.image-picker', [ 'label' => 'Imagem', 'name' => 'parameters[image_id]', 'value' => $data['image_id'] ?? '', 'inputId' => 'text-image-id' ])

Botão de Ação (Opcional)

{!! Form::text('parameters[button_text]', $data['button_text'] ?? '', ['class' => 'form-control', 'id' => 'text-image-btn-text', 'placeholder' => 'Ex: Saiba mais']) !!}
{!! Form::text('parameters[button_link]', $data['button_link'] ?? '', ['class' => 'form-control', 'id' => 'text-image-btn-link', 'placeholder' => 'Ex: /servicos']) !!}