You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

45 lines
1.2 KiB

{% 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 %}