Disable autocomplete on the change password field

This commit is contained in:
Nova 2021-01-13 12:21:57 -08:00 committed by GitHub
parent ee400eece6
commit 857f8c2a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,8 @@
<input type="password" id="{{ $name }}" name="{{ $name }}" <input type="password" id="{{ $name }}" name="{{ $name }}"
@if($errors->has($name)) class="text-neg" @endif @if($errors->has($name)) class="text-neg" @endif
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif @if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
@if(isset($autocomplete)) autocomplete="{{$autocomplete}}" @endif
@if(old($name)) value="{{ old($name)}}" @endif> @if(old($name)) value="{{ old($name)}}" @endif>
@if($errors->has($name)) @if($errors->has($name))
<div class="text-neg text-small">{{ $errors->first($name) }}</div> <div class="text-neg text-small">{{ $errors->first($name) }}</div>
@endif @endif