{% extends "registration/registration_base.html" %} {% load i18n %} {% block title %}{% trans "Confirm password reset" %}{% endblock %} {% block style %} {{block.super}} th { text-align:left; } table td { padding:0.5em; } table ul { color:#ff3232; } label { font-size: 15px; } .text-center { text-align: center; } small.all-error { font-size: 16px; } /* Setting css-properties for small.error */ small.error { padding: 0 0 0 0.5rem !important; margin-top: 1rem !important; position: relative !important; width: 95%; } {% endblock %} {% block body_content %}

{% trans "Change Password" %}

{% if form.errors %}
{% trans "Either both passwords doesn't match or doesn't satisfy the criteria!!!" %}
{% endif %}
{% if form %}
{% csrf_token %}
{{form.new_password1}} {% trans "NOTE: " %}
  • {% trans "Password must contain atleast 8 characters," %}
  • {% trans "One uppercase letter, and" %}
  • {% trans "One numeral" %}
{{form.new_password2}}
{% else %}

This link has already been used to reset password or might be got expired!!!

{% endif %}
{% endblock %} {% block document_ready %} {{block.super}} $("input[id='id_new_password1'], input[id='id_new_password2']").each(function(){ $(this).css("width", "95%"); $(this).attr("required", ""); $(this).css("float", "left"); $(this).after("Please fill valid "+this.name+""); $(this).after("*"); }); {% endblock %}