{% extends "base.html" %}
{% load static %}
{% load i18n %}

{% block title %}{% trans "Password reset - Confirm" %}{% endblock %}

{% block css_import %}
{{block.super}}
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/login.css' %}" />
{% endblock %}

{% block main_content %}
<div class="register">
	{% if validlink %}
	<form method="post" action=".">
	  {% csrf_token %} 
	  {{ form.as_p }}
	 	<div class="btn-submit">
	        	<p><input type="submit" value="{% trans 'Submit' %}" /></p>
		</div>
	</form>
	{% else %}
	<p>{% trans "Password reset failed" %}</p>
	{% endif %}
</div>
{% endblock %}
