{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div class="row">
|
|
<div class="col-sm-6 col-sm-offset-3">
|
|
<div class="hc-dialog">
|
|
<h1>Enter a Confirmation Code</h1>
|
|
<br />
|
|
<p>
|
|
We have sent a confirmation code to your email
|
|
address. Please enter it below to continue:
|
|
</p>
|
|
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
|
|
<div class="form-group {% if wrong_code %}has-error{% endif %}">
|
|
<input
|
|
id="sudo-code"
|
|
type="text"
|
|
class="form-control input-lg"
|
|
maxlength="6"
|
|
name="sudo_code"
|
|
autofocus />
|
|
|
|
{% if wrong_code %}
|
|
<div class="help-block">
|
|
Not a valid code. Did you type it in correctly?
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
<button
|
|
class="btn btn-lg btn-primary btn-block"
|
|
type="submit">
|
|
Continue
|
|
</button>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|