2014-10-15 19:32:19 +04:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="row">
|
|
|
|
<h3>Password reset confirmation</h3><hr/>
|
|
|
|
{% include "fragments/password_reset_confirm_form.html" %}
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|
2014-10-16 15:13:55 +04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block script %}
|
|
|
|
<script type="text/javascript">
|
|
|
|
var url_elements = window.location.pathname.split('/');
|
|
|
|
if (url_elements.length == 6){
|
|
|
|
var uid = url_elements[url_elements.length - 3];
|
|
|
|
if (uid !== undefined){
|
|
|
|
$('input[name=uid]').val(uid);
|
|
|
|
}
|
|
|
|
var token = url_elements[url_elements.length - 2];
|
|
|
|
if (token !== undefined){
|
|
|
|
$('input[name=token]').val(token);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
{% endblock %}
|