{% extends "base_short.html" %}
{% load i18n staticfiles bootstrap3 %}

{% block title %}
    <title> Set new password for {{user}} </title>
{% endblock %}


{% block content %}
    <div class="auth-container">
        <div class="auth-bg"></div>
        <div class="auth-center">
            <div class="auth-content">
                <div class="auth-box">
                    <h1 class="section-heading allcaps">{% trans "Please set new password for " %} {{user}} </h1>
                    {% include 'includes/_messages.html' %}
                    <form action="{% url 'reset' %}" method="post" class="form">
                        {% csrf_token %}
                        <div class="form-group">
                            <label class="sr-only control-label" for="password1">password1</label>
                            <input type="password" name="password1" class="form-control" placeholder="New Password (at least 8 characters):" title="" required="" id="password1">
                        </div>
                        <div class="form-group">
                            <label class="sr-only control-label" for="password2">password2</label>
                            <input type="password" name="password2" class="form-control" placeholder="Please confirm your Password:" title="" required="" id="password2">
                        </div>
                        <input type="hidden" name="user" id="user" value="{{user}}">
                        <p class="red">{{form.non_field_errors|striptags}}</p>
                        <div class="text-center">
                            <button type="submit" class="btn choice-btn">
                                {% trans "Submit" %}
                            </button>
                        </div>
                        <input type='hidden' name='next' value='{{request.GET.next}}'/>
                    </form>
                </div>
            </div>
        </div>
    </div>
{% endblock %}









{##}
{##}
{##}
{#<title></title>#}
{##}
{#<h2> </h2>#}
{#<br><br>#}
{#<form action={% url 'reset' %} method="post">#}
{#	{% csrf_token %}#}
{#	New Password:<br>#}
{#	<input type="password" name="password1" id="password1">#}
{#	<br>Please confirm new password:<br>#}
{#	<input type="password" name="password2" id="password2">#}
{#	<br>#}
{#	<input type="hidden" name="user" id="user" value="{{user}}">#}
{#	<input type="submit" value="Submit">#}
{#</form>#}
