@if($sectionTemplate)
{{ $sectionTemplate->templateName }} / {{ $sectionTemplate->title }} / Editar {{ $dto->title }}
@endif
@csrf @method('PUT')

Editar sección

{{-- Title --}} {{-- order --}}

Contenido

{{-- Editor --}}
{{-- Checkbox omit rules --}}
@if(!empty($rules) && count($rules) > 0)

Reglas de la sección

@foreach ($rules as $rule) @php $formattedOptions = collect($rule['options'])->pluck('key', 'value')->toArray(); $selectedValue = old('rules.' . $rule['id'], $dto->rules[$rule['key']] ?? $rule['default'] ?? null); @endphp
@endforeach
@endif
Actualizar Cancelar