18 lines
774 B
PHP
18 lines
774 B
PHP
<div class="form-floating mb-3">
|
|
<input id="phone" name="phone" type="text" value="{{ old('phone', $crmCustomer->phone ?? null) }}"
|
|
placeholder="{{ __('Votre :attribute', [
|
|
'attribute' => __('validation.attributes.phone'),
|
|
]) }}"
|
|
@class([
|
|
'form-control',
|
|
'mx-auto',
|
|
'is-invalid' => $errors->has('phone'),
|
|
]) autocomplete="tel" @readonly(!empty($readonly)) @disabled(!empty($disabled)) @required(!empty($required)) />
|
|
<label for="phone">{{ Str::ucfirst(__('validation.attributes.phone')) }}@if (!empty($required))
|
|
*
|
|
@endif
|
|
</label>
|
|
@foreach ($errors->get('phone') as $message)
|
|
<div class="invalid-feedback">{{ $message }}</div>
|
|
@endforeach
|
|
</div>
|