1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00
Files
openstamanager/resources/views/components/inputs/editor.blade.php

16 lines
653 B
PHP

<x-input-wrapper :name="$name" :id="$id" :unique_id="$unique_id" :label="$label">
<textarea {{ $attributes->merge([
'type' => isset($type) ? $type : 'text',
'name' => $name,
'id' => $id,
'required' => $required,
'placeholder' => $placeholder,
'class' => $class,
'data-parsley-errors-container' => '#'.$unique_id.'-errors'
]) }}>{{ $value }}</textarea>
<script src="{{ url('/') }}/assets/js/ckeditor/ckeditor.js"></script>
<x-slot name="before">{{ isset($before) ? $before : null }}</x-slot>
<x-slot name="after">{{ isset($after) ? $after : null }}</x-slot>
</x-input-wrapper>