enhance components, add mailtemplate, add traits for translations, for stats
This commit is contained in:
@@ -1,8 +1,19 @@
|
||||
@include('load.form.datepicker')
|
||||
@if (($readonly ?? false) || ($disabled ?? false))
|
||||
@include('components.form.input')
|
||||
@else
|
||||
@include('components.form.label')
|
||||
<div class="input-group date" data-target-input="nearest">
|
||||
@include('components.form.input', [
|
||||
'type' => 'text',
|
||||
'class' => $class ?? ' datepicker',
|
||||
'meta' => 'data-target="#' . ($id_name ?? str_slug($name, '-')) . '"',
|
||||
'placeholder' => $placeholder ?? App\Repositories\Core\DateTime::getLocaleFormatDate(),
|
||||
'label' => false,
|
||||
])
|
||||
<div class="input-group-append" data-target="#{{ $id_name ?? str_slug($name, '-') }}" data-toggle="datetimepicker">
|
||||
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="input-group date" data-target-input="nearest">
|
||||
@include('components.form.input', ['class' => 'datepicker', 'meta' => 'data-target="#'.str_slug($name).'"', 'placeholder' => App\Repositories\Core\DateTime::getLocaleFormatDate() ])
|
||||
<div class="input-group-append" data-target="#{{ str_slug($name) }}" data-toggle="datetimepicker">
|
||||
<div class="input-group-text"><i class="fa fa-calendar"></i></div>
|
||||
</div>
|
||||
</div>
|
||||
@include('load.form.datepicker')
|
||||
|
||||
Reference in New Issue
Block a user