enhance components, add mailtemplate, add traits for translations, for stats
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user