-{% extends "base.html" %}
+{% extends "base/base.html" %}
{% load i18n %}
{% block titleextra %}{% trans "Authorize access to Wolne Lektury" %}{% endblock %}
{% block body %}
- <h1>{% trans "Authorize access to Wolne Lektury" %}</h1>
+ <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>
+ <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">
- {% csrf_token %}
+ <form action="{% url 'oauth_user_auth' %}" method="POST">
+ {% csrf_token %}
{{ form.as_p }}
- <button type="submit">Confirm</button>
+ <button type="submit">{% trans "Confirm" %}</button>
</form>
- </div>
+ </div>
{% endblock %}