68 lines
3.1 KiB
HTML
68 lines
3.1 KiB
HTML
![]() |
{% extends 'base.html' %}
|
||
|
{% load static %}
|
||
|
{% block content %}
|
||
|
|
||
|
<div class="hero-wrap js-fullheight" style="background-image: url('{% static 'images/bg_2.jpg' %}');" data-stellar-background-ratio="0.5"> <div class="overlay"></div>
|
||
|
<div class="container">
|
||
|
<div class="row no-gutters slider-text js-fullheight align-items-end justify-content-start" data-scrollax-parent="true">
|
||
|
<div class="col-md-8 ftco-animate text-center text-md-left mb-5" data-scrollax=" properties: { translateY: '70%' }">
|
||
|
<p class="breadcrumbs" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }"><span class="mr-3"><a href="index.html">Home <i class="ion-ios-arrow-forward"></i></a></span> <span>Set new password</span></p>
|
||
|
<h1 class="mb-3 bread" data-scrollax="properties: { translateY: '30%', opacity: 1.6 }">Set new password</h1>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="ftco-section bg-light">
|
||
|
<div class="container">
|
||
|
<div class="row">
|
||
|
<div class="col-md-12 col-lg-8 mb-5">
|
||
|
{% if validlink %}
|
||
|
<form action="#" class="p-5 bg-white" method="post">
|
||
|
{% csrf_token %}
|
||
|
{% if form.errors %}
|
||
|
<div class="alert alert-danger alert-dismissible" role="alert">
|
||
|
<div id="form_errors">
|
||
|
{% for key, value in form.errors.items %}
|
||
|
<span class="fieldWrapper">
|
||
|
{{ key }}: {{ value }}
|
||
|
</span>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
<button type="button" class="close" data-dismiss="alert" aria_hidden="Close">
|
||
|
<span aria-hidden="true">×</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
<div class="row form-group">
|
||
|
<div class="col-md-12 mb-3 mb-md-0">
|
||
|
<label class="font-weight-bold">Password</label>
|
||
|
<input type="password" class="form-control" placeholder="Your password" name="new_password1">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<div class="row form-group">
|
||
|
<div class="col-md-12 mb-3 mb-md-0">
|
||
|
<label class="font-weight-bold">Repeat password</label>
|
||
|
<input type="password" class="form-control" placeholder="Your password" name="new_password2">
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="row form-group">
|
||
|
<div class="col-md-12">
|
||
|
<input type="submit" value="Change" class="btn btn-primary py-2 px-5">
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
{% else %}
|
||
|
<h3>Your token is invalid.</h3>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{% endblock %}
|