rearrangements: new core app, templates in apps, split settings;
[wolnelektury.git] / apps / wolnelektury_core / templates / piston / authorize_token.html
diff --git a/apps/wolnelektury_core/templates/piston/authorize_token.html b/apps/wolnelektury_core/templates/piston/authorize_token.html
new file mode 100755 (executable)
index 0000000..4e45207
--- /dev/null
@@ -0,0 +1,17 @@
+{% 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_p }}
+      <button type="submit">Confirm</button>
+    </form>
+    </div>
+{% endblock %}