Move "forgot password" button to a different position to avoid Keepass issue

This commit is contained in:
Son NK 2020-01-06 16:11:17 +01:00
parent f52f4c821b
commit d527fcf648

View file

@ -39,32 +39,26 @@
<div class="form-group"> <div class="form-group">
<label class="form-label"> <label class="form-label">
Password Password
<a href="{{ url_for('auth.forgot_password') }}" class="float-right small">
I forgot my password
</a>
</label> </label>
{{ form.password(class="form-control", type="password") }} {{ form.password(class="form-control", type="password") }}
{{ render_field_errors(form.password) }} {{ render_field_errors(form.password) }}
<div class="text-muted">
<a href="{{ url_for('auth.forgot_password') }}" class="small">
I forgot my password
</a>
</div> </div>
<!-- TODO: add remember me
<div class="form-group">
<label class="custom-control custom-checkbox">
<input type="checkbox" class="custom-control-input"/>
<span class="custom-control-label">Remember me</span>
</label>
</div> </div>
-->
<div class="form-footer"> <div class="form-footer">
<button type="submit" class="btn btn-primary btn-block">Log in</button> <button type="submit" class="btn btn-primary btn-block">Log in</button>
</div> </div>
</div>
</form>
<div class="text-center text-muted mb-6"> <div class="text-center text-muted mt-2">
Don't have an account yet? <a href="{{ url_for('auth.register') }}">Sign up</a> Don't have an account yet? <a href="{{ url_for('auth.register') }}">Sign up</a>
</div> </div>
</div>
</form>
</div> </div>
</div> </div>