2015-08-06 03:59:39 +08:00
|
|
|
<input type="password" id="{{ $name }}" name="{{ $name }}"
|
2019-04-07 18:34:40 +08:00
|
|
|
@if($errors->has($name)) class="text-neg" @endif
|
2015-08-06 03:59:39 +08:00
|
|
|
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
|
2021-01-14 04:21:57 +08:00
|
|
|
@if(isset($autocomplete)) autocomplete="{{$autocomplete}}" @endif
|
2015-08-09 03:05:30 +08:00
|
|
|
@if(old($name)) value="{{ old($name)}}" @endif>
|
2015-08-06 03:59:39 +08:00
|
|
|
@if($errors->has($name))
|
|
|
|
<div class="text-neg text-small">{{ $errors->first($name) }}</div>
|
2021-01-14 04:21:57 +08:00
|
|
|
@endif
|