mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
Merge branch 'patch-1' of git://github.com/l1n/BookStack into l1n-patch-1
This commit is contained in:
commit
4d3194d784
@ -1,7 +1,8 @@
|
||||
<input type="password" id="{{ $name }}" name="{{ $name }}"
|
||||
@if($errors->has($name)) class="text-neg" @endif
|
||||
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
|
||||
@if(isset($autocomplete)) autocomplete="{{$autocomplete}}" @endif
|
||||
@if(old($name)) value="{{ old($name)}}" @endif>
|
||||
@if($errors->has($name))
|
||||
<div class="text-neg text-small">{{ $errors->first($name) }}</div>
|
||||
@endif
|
||||
@endif
|
||||
|
@ -74,7 +74,7 @@
|
||||
<div class="grid half mt-m gap-xl">
|
||||
<div>
|
||||
<label for="password">{{ trans('auth.password') }}</label>
|
||||
@include('form.password', ['name' => 'password'])
|
||||
@include('form.password', ['name' => 'password', 'autocomplete' => 'new-password'])
|
||||
</div>
|
||||
<div>
|
||||
<label for="password-confirm">{{ trans('auth.password_confirm') }}</label>
|
||||
|
Loading…
Reference in New Issue
Block a user