first commit
This commit is contained in:
1
templates/openid/base.html
Executable file
1
templates/openid/base.html
Executable file
@@ -0,0 +1 @@
|
||||
{% extends "socialaccount/base_entrance.html" %}
|
||||
24
templates/openid/login.html
Executable file
24
templates/openid/login.html
Executable file
@@ -0,0 +1,24 @@
|
||||
{% extends "openid/base.html" %}
|
||||
{% load i18n %}
|
||||
{% load allauth %}
|
||||
{% block head_title %}
|
||||
OpenID {% translate "Sign In" %}
|
||||
{% endblock head_title %}
|
||||
{% block content %}
|
||||
{% element h1 %}
|
||||
OpenID {% trans 'Sign In' %}
|
||||
{% endelement %}
|
||||
{% url 'openid_login' as action_url %}
|
||||
{% element form method="post" action=action_url %}
|
||||
{% slot body %}
|
||||
{% csrf_token %}
|
||||
{% element fields form=form unlabeled=True %}
|
||||
{% endelement %}
|
||||
{% endslot %}
|
||||
{% slot actions %}
|
||||
{% element button type="submit" %}
|
||||
{% translate "Sign In" %}
|
||||
{% endelement %}
|
||||
{% endslot %}
|
||||
{% endelement %}
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user