enhance components, add mailtemplate, add traits for translations, for stats
This commit is contained in:
@@ -1,12 +1,17 @@
|
||||
@include('components.form.label')
|
||||
|
||||
<input type="number" name="{{ $name }}" id="{{ $id_name ?? str_slug($name,'-') }}" class="form-control {{ $class ?? ''}}" value="{{ $value ?? ''}}"
|
||||
@if (isset($data_id))
|
||||
data-id="{{ $data_id }}"
|
||||
@endif
|
||||
@if (isset($required))
|
||||
required="required"
|
||||
@endif
|
||||
{{ isset($min) ? 'min="' . $min . '"' : ''}}
|
||||
{{ isset($max) ? 'max="' . $max . '"' : ''}}
|
||||
{{ isset($step) ? 'step="' . $step . '"' : ''}}
|
||||
{{ isset($placeholder) ? 'placeholder="' . $placeholder. '"' : ''}}
|
||||
>
|
||||
@if ($required ?? false) required @endif
|
||||
@if ($disabled ?? false) disabled @endif
|
||||
@if ($readonly ?? false) readonly @endif
|
||||
@if ($autofocus ?? false) autofocus @endif
|
||||
@if ($size ?? false) size="{{ $size }}" @endif
|
||||
@if ($autocomplete ?? false) autocomplete="{{ $autocomplete }}" @endif
|
||||
@if ($min ?? false) min={{ $min }} @endif
|
||||
@if ($max ?? false) max={{ $max }} @endif
|
||||
@if ($step ?? false) step={{ $step }} @endif
|
||||
@if ($formid ?? false) form="{{ $formid }}" @endif
|
||||
@if ($mask ?? false) data-inputmask="'mask': '{{ $mask }}'" @endif
|
||||
@if ($pattern ?? false) pattern="{{ $pattern }}" @endif
|
||||
@if ($placeholder ?? false) placeholder="{{ $placeholder }}" @endif
|
||||
{!! $meta ?? '' !!} >
|
||||
|
||||
Reference in New Issue
Block a user