{{-- PICTOS --}}
{{ Str::of(__('models.classes.picto'))->plural()->ucfirst() }}
@include('bo.partials.inputs.pivot-belongsToMany', [ 'id' => 'commitmentPagePictos', 'name' => 'pictos', 'required' => false, 'model' => $commitmentPageModel ?? null, 'itemsList' => $pictoModels ?? null, 'itemLimit' => [0, 2], 'placeholder' => 'Rechercher un pictogramme', 'helper' => __('Séléctionnez le ou les :model1 à associer à la :model2 (minimum :min, maximum :max)', [ 'model1' => Str::plural(__('models.classes.picto')), 'model2' => trans_choice('models.classes.commitment_page', 1), 'min' => 0, 'max' => 2, ]), ])
{{-- QUALITY --}}
{{ Str::title(__('validation.custom.quality_section')) }}
{{-- QUALITY_TITLE --}}
@include('bo.partials.inputs.varchar', [ 'id' => 'commitmentPageQualityTitle', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.quality_title')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'hasWordCounter' => true, 'name' => 'quality_title', 'required' => true, 'model' => $commitmentPageModel ?? null, 'helper' => __('validation.between.string', [ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.quality_title'), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'min' => 3, 'max' => 255, ]), 'placeholder' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.quality_title')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), ])
{{-- QUALITY_TEXT --}}
@include('bo.partials.inputs.text-html', [ 'id' => 'commitmentPageQualityText', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.quality_text')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'name' => 'quality_text', 'model' => $commitmentPageModel ?? null, 'required' => true, 'helper' => __('crud.minicrud.text_warning'), ])
{{-- PRODUCT1 --}}
{{ Str::title(__('validation.custom.productx_section', ['x' => 1])) }}
{{-- PRODUCT1_TITLE --}}
@include('bo.partials.inputs.varchar', [ 'id' => 'commitmentPageProduct1Title', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_title', ['x' => 1])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'hasWordCounter' => true, 'name' => 'product1_title', 'required' => true, 'model' => $commitmentPageModel ?? null, 'helper' => __('validation.between.string', [ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.productx_title', ['x' => 1]), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'min' => 3, 'max' => 255, ]), 'placeholder' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_title', ['x' => 1])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), ])
{{-- PRODUCT1_TEXT --}}
@include('bo.partials.inputs.text-html', [ 'id' => 'commitmentPageProduct1Text', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_text', ['x' => 1])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'name' => 'product1_text', 'model' => $commitmentPageModel ?? null, 'required' => true, 'helper' => __('crud.minicrud.text_warning'), ])
{{-- PRODUCT2 --}}
{{ Str::title(__('validation.custom.productx_section', ['x' => 2])) }}
{{-- PRODUCT2_TITLE --}}
@include('bo.partials.inputs.varchar', [ 'id' => 'commitmentPageProduct2Title', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_title', ['x' => 2])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'hasWordCounter' => true, 'name' => 'product2_title', 'required' => true, 'model' => $commitmentPageModel ?? null, 'helper' => __('validation.between.string', [ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.productx_title', ['x' => 2]), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'min' => 3, 'max' => 255, ]), 'placeholder' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_title', ['x' => 2])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), ])
{{-- PRODUCT2_TEXT --}}
@include('bo.partials.inputs.text-html', [ 'id' => 'commitmentPageProduct2Text', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.productx_text', ['x' => 2])), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'name' => 'product2_text', 'model' => $commitmentPageModel ?? null, 'required' => true, 'helper' => __('crud.minicrud.text_warning'), ])
{{-- ENVIRONMENT --}}
{{ Str::title(__('validation.custom.environment_section')) }}
{{-- ENVIRONMENT_TITLE --}}
@include('bo.partials.inputs.varchar', [ 'id' => 'commitmentPageEnvironmentTitle', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.environment_title')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'hasWordCounter' => true, 'name' => 'environment_title', 'required' => true, 'model' => $commitmentPageModel ?? null, 'helper' => __('validation.between.string', [ 'attribute' => __(':field :inter:model', [ 'field' => __('validation.custom.environment_title'), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'min' => 3, 'max' => 255, ]), 'placeholder' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.environment_title')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), ])
{{-- ENVIRONMENT_TEXT --}}
@include('bo.partials.inputs.text-html', [ 'id' => 'commitmentPageEnvironmentText', 'label' => __(':field :inter:model', [ 'field' => Str::ucfirst(__('validation.custom.environment_text')), 'inter' => __('validation.custom.of_the.female'), 'model' => trans_choice('models.classes.commitment_page', 1), ]), 'name' => 'environment_text', 'model' => $commitmentPageModel ?? null, 'required' => true, 'helper' => __('crud.minicrud.text_warning'), ])

* {{ __('crud.helpers.required_fields') }}

@push('scripts') @endpush