2014-10-15 19:32:19 +04:00
|
|
|
<!-- Signup form -->
|
2015-12-22 00:32:53 +03:00
|
|
|
<form class="form-horizontal ajax-post" role="form" action="{% url 'rest_password_reset_confirm' %}">{% csrf_token %}
|
2014-10-15 19:32:19 +04:00
|
|
|
<div class="form-group">
|
2014-10-16 15:13:55 +04:00
|
|
|
<label for="uid" class="col-sm-2 control-label">Uid</label>
|
2014-10-15 19:32:19 +04:00
|
|
|
<div class="col-sm-10">
|
2014-10-16 15:13:55 +04:00
|
|
|
<input name="uid" type="text" class="form-control" id="uid" placeholder="Uid">
|
|
|
|
<p class="help-block">Uid value sent in email</p>
|
2014-10-15 19:32:19 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2014-10-16 15:13:55 +04:00
|
|
|
<label for="token" class="col-sm-2 control-label">Token</label>
|
2014-10-15 19:32:19 +04:00
|
|
|
<div class="col-sm-10">
|
2014-10-16 15:13:55 +04:00
|
|
|
<input name="token" type="text" class="form-control" id="token" placeholder="Token">
|
|
|
|
<p class="help-block">Token value sent in email</p>
|
2014-10-15 19:32:19 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2014-10-16 15:13:55 +04:00
|
|
|
<label for="new_password1" class="col-sm-2 control-label">Password</label>
|
2014-10-15 19:32:19 +04:00
|
|
|
<div class="col-sm-10">
|
2014-10-16 15:13:55 +04:00
|
|
|
<input name="new_password1" type="password" class="form-control" id="new_password1" placeholder="Password">
|
2014-10-15 19:32:19 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2014-10-16 15:13:55 +04:00
|
|
|
<label for="new_password2" class="col-sm-2 control-label">Repeat password</label>
|
2014-10-15 19:32:19 +04:00
|
|
|
<div class="col-sm-10">
|
2014-10-16 15:13:55 +04:00
|
|
|
<input name="new_password2" type="password" class="form-control" id="new_password2" placeholder="Repeat password">
|
2014-10-15 19:32:19 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
|
|
<button type="submit" class="btn btn-default">Set new password</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group api-response"></div>
|
|
|
|
</form>
|