Skip to content

Commit

Permalink
resetpasswprd template added
Browse files Browse the repository at this point in the history
  • Loading branch information
YogeshUpdhyay committed May 12, 2021
1 parent cde1d26 commit ee2467f
Showing 1 changed file with 57 additions and 0 deletions.
57 changes: 57 additions & 0 deletions templates/resetpassword.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{% extends 'layouts/base-fullscreen.html' %}

{% block title %} Reset Password {% endblock title %}

<!-- Specific CSS goes HERE -->
{% block stylesheets %}{% endblock stylesheets %}

{% block content %}

<!-- Page content -->
<div class="container mt--8 pb-5">
<div class="row justify-content-center">
<div class="col-lg-5 col-md-7">
<div class="card bg-secondary border-0 mb-0">
<div class="card-body px-lg-5 py-lg-5">
{% if msg %}
<div class="alert alert-warning" role="alert">
<span class="alert-inner--text">{{ msg | safe }}</span>
</div>
{% endif %}

<form role="form" method="POST" action="{{ url_for('user.reset_password') }}">

{{ form.hidden_tag() }}

<div class="form-group mb-3">
<div class="input-group input-group-merge input-group-alternative">
<div class="input-group-prepend">
<span class="input-group-text"><i class="ni ni-lock-circle-open"></i></span>
</div>
{{ form.password(placeholder="Password", class="form-control", type="password") }}
</div>
</div>

<div class="text-center">
<button type="submit" class="btn btn-primary mt-4">Submit</button>
</div>

</form>
</div>
</div>
<div class="row mt-3">
<div class="col-6">
<a href="{{ url_for('user.register') }}" class="text-light"><small>Register</small></a>
</div>
<div class="col-6 text-right">
<a href="{{ url_for('user.login') }}" class="text-light"><small>Login</small></a>
</div>
</div>
</div>
</div>
</div>

{% endblock content %}

<!-- Specific JS goes HERE -->
{% block javascripts %}{% endblock javascripts %}

0 comments on commit ee2467f

Please sign in to comment.