enhance components, add mailtemplate, add traits for translations, for stats

This commit is contained in:
Ludovic CANDELLIER
2023-02-13 22:52:39 +01:00
parent 7449229ff7
commit 685160ddf5
32 changed files with 891 additions and 277 deletions

View File

@@ -1,19 +1,9 @@
<textarea
name="{{ $name }}"
@if (isset($id_name))id="{{ $id_name }}"@endif
class="editor form-control @if (isset($class)){{ $class }}@endif"
@if (isset($rows)) rows="{{ $rows }}"@endif
>@if (isset($value)){{ $value }}@endif</textarea>
@include('components.form.textarea', [
'rows' => $rows ?? 3,
'class' => 'editor ' . ($class ?? ''),
])
@if(!defined('LOAD_EDITOR'))
@if(!defined('LOAD_EDITOR'))
@include('load.form.editor')
@push('js')
<script>
$(function() {
initEditor();
});
</script>
@endpush
@endif