Holger Frey
7 years ago
4 changed files with 180 additions and 3 deletions
@ -0,0 +1,16 @@
@@ -0,0 +1,16 @@
|
||||
{% extends "ordr2:templates/layout.jinja2" %} |
||||
|
||||
{% block title %} Ordr | Forgotten Password {% endblock title %} |
||||
|
||||
{% block content %} |
||||
<div class="row"> |
||||
<div class="col-2"></div> |
||||
<div class="col-5"> |
||||
|
||||
<h1>Password Reset Link</h1> |
||||
<p>To reset your password, an email has been sent to you.</p> |
||||
<p>Please follow the link in the email to set a new password.</p> |
||||
|
||||
</div> |
||||
</div> |
||||
{% endblock content %} |
@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
|
||||
{% extends "ordr2:templates/layout.jinja2" %} |
||||
|
||||
{% block title %} Ordr | Forgotten Password {% endblock title %} |
||||
|
||||
{% block content %} |
||||
<div class="row justify-content-center"> |
||||
<div class="col-4"> |
||||
|
||||
<h1>Forgotten password?</h1> |
||||
<form action="{{ request.resource_url(request.root, 'account', 'forgot-password') }}" method="POST" id="forgotten-password-form" class="form"> |
||||
<input type="hidden" name="csrf_token" value="{{ get_csrf_token() }}"> |
||||
<div class="form-group"> |
||||
<label for="username_or_email" class="form-control-label">Username or Email:</label> |
||||
<input name="username_or_email" id="username_or_email" type="text" class="form-control"> |
||||
</div> |
||||
<div class="form-group"> |
||||
<button type="submit" name="submit" class="btn btn-sm btn-primary">Reset Password</button> |
||||
<button type="submit" name="cancel" class="btn btn-sm btn-secondary">Cancel</button> |
||||
</div> |
||||
</form> |
||||
</div> |
||||
</div> |
||||
{% endblock content %} |
Reference in new issue