ldc-com-app-bo/resources/views/bo/partials/inputs/text-html.blade.php

13 lines
340 B
PHP
Raw Permalink Normal View History

2023-03-14 14:57:03 +01:00
@php
$data = [
2023-03-27 12:17:31 +02:00
'name' => $name,
'text' => old($name, $model->{$name} ?? '')
2023-03-14 14:57:03 +01:00
];
@endphp
<div class="ck-editor" data-json='@json($data)'></div>
@include('modules.input-error', [
2023-03-27 12:17:31 +02:00
'inputName' => $name,
'helperId' => "{$id}Help",
'helper' => __('Relisez bien votre contenu avant de le publier (minimum 15 caractères).'),
])