{% extends "base.html" %} {% load i18n %} {% block main_content %}
{% blocktrans %}Backup codes can be used when your primary and backup phone numbers aren't available. The backup codes below can be used for login verification. If you've used up all your backup codes, you can generate a new set of backup codes. Only the backup codes shown below will be valid.{% endblocktrans %}
{% if device.token_set.count %}{% blocktrans %}Print these codes and keep them somewhere safe.{% endblocktrans %}
{% else %}{% trans "You don't have any backup codes yet." %}
{% endif %}