authentic/src/authentic2/templates/registration/sms_input_code.html

26 lines
741 B
HTML

{% extends "authentic2/base-page.html" %}
{% load i18n gadjo %}
{% block title %}
{{ view.title }}
{% endblock %}
{% block content %}
<form method="post" action=".">
<p>{% blocktrans trimmed %}Input the code you received by SMS.{% endblocktrans %}</p>
<p>
{% blocktrans count counter=duration %}
Your code is valid for the next minute.
{% plural %}
Your code is valid for the next {{ duration }} minutes.
{% endblocktrans %}
</p>
{% csrf_token %}
{{ form }}
<div class="buttons">
<button class="submit-button">{% trans 'Submit' %}</button>
<button class="cancel-button" name="cancel" formnovalidate>{% trans "Cancel" %}</button>
</div>
</form>
{% endblock %}