Added labels to password reset

This commit is contained in:
snipe 2020-04-01 04:30:54 -07:00
parent 9d9b5d3885
commit 4cfa0e36b1
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@
<fieldset> <fieldset>
<div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}">
<input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" autofocus> <input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" aria-label="two_factor_secret" autofocus>
{!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!} {!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div> </div>
</fieldset> </fieldset>

View file

@ -40,7 +40,7 @@
<fieldset> <fieldset>
<div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('secret') ? ' has-error' : '' }}">
<input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" autofocus> <input class="form-control" placeholder="{{ trans('admin/settings/general.two_factor_secret') }}" name="two_factor_secret" type="text" aria-label="two_factor_secret" autofocus>
{!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!} {!! $errors->first('two_factor_secret', '<span class="alert-msg" aria-hidden="true"><i class="fa fa-times" aria-hidden="true"></i> :message</span>') !!}
</div> </div>
</fieldset> </fieldset>