add password input
This commit is contained in:
parent
a0b1b1e9cb
commit
45f9f2d558
1 changed files with 11 additions and 0 deletions
|
|
@ -0,0 +1,11 @@
|
|||
@if(!empty($label))
|
||||
<label for="{{ $id }}" class="col-form-label">
|
||||
<b>{{ $label }} {{ $required ? '*' : '' }}</b>
|
||||
</label>
|
||||
@endif
|
||||
<input name="{{ $name }}" type="password" value="{{ old($name, $model->{$name} ?? '') }}" class="form-control" id="{{ $id }}" aria-describedby="{{ $id }}Help" placeholder="{{ $placeholder ?? __('Un nom beau et explicite') }}" @if(!empty($required))required @endif>
|
||||
@include('modules.input-error', [
|
||||
'inputName' => $name,
|
||||
'helperId' => '{{ $id }}Help',
|
||||
'helper' => $helper
|
||||
])
|
||||
Loading…
Add table
Reference in a new issue