{{ get_hidden_inputs() }} <p> {% trans "Please scan following QR code into the two-factor authentication app on your device and enter authentication code it generates." %} </p> <p> {% if has_imagick %} <img src="{{ image }}"> {% else %} {{ image|raw }} {% endif %} </p> <p> {% trans "Secret/key:" %} <strong>{{ secret }}</strong> </p> <p> <label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off"></label> </p>