X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73e3cc6c4b80f1afbfc78fc7ccd6f6cfc90b719c..88e2c2cae610d479e1b2f82a3d0f19c00e5fb97d:/wolnelektury/templates/piston/authorize_token.html?ds=sidebyside diff --git a/wolnelektury/templates/piston/authorize_token.html b/wolnelektury/templates/piston/authorize_token.html index ba28adc4a..4e4520734 100755 --- a/wolnelektury/templates/piston/authorize_token.html +++ b/wolnelektury/templates/piston/authorize_token.html @@ -1,15 +1,17 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>Authorize Token</title> - </head> - <body> - <h1>Authorize Token</h1> +{% extends "base.html" %} +{% load i18n %} + +{% block titleextra %}{% trans "Authorize access to Wolne Lektury" %}{% endblock %} + +{% block body %} + <h1>{% trans "Authorize access to Wolne Lektury" %}</h1> + + <div class="normal-text"> + <p>{% blocktrans %}Confirm to authorize access to Wolne Lektury as user <strong>{{ user}}</strong>.{% endblocktrans %}</p> <form action="{% url piston.authentication.oauth_user_auth %}" method="POST"> - {{ form.as_table }} + {{ form.as_p }} <button type="submit">Confirm</button> </form> - - </body> -</html> + </div> +{% endblock %}