X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/73e3cc6c4b80f1afbfc78fc7ccd6f6cfc90b719c..d90edc4826d6c3d3a40f52fa5c88cf4b1741ab63:/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..e2444de87 100755 --- a/wolnelektury/templates/piston/authorize_token.html +++ b/wolnelektury/templates/piston/authorize_token.html @@ -1,15 +1,15 @@ -<!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 "simple_base.html" %} +{% load i18n %} + +{% block "title" %}{% trans "Authorize access to Wolne Lektury" %}{% endblock %} + +{% block "body" %} + <h1>{% trans "Authorize access to Wolne Lektury" %}</h1> + + <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> +{% endblock %}