File tree Expand file tree Collapse file tree 2 files changed +18
-24
lines changed
allauth_ui/templates/account Expand file tree Collapse file tree 2 files changed +18
-24
lines changed Original file line number Diff line number Diff line change 11{# -*- engine:django -*- #}
22{% extends "account/confirm_login_code.html" %}
3-
43{% load i18n %}
54{% load allauth %}
65{% load allauth_ui %}
76{% load widget_tweaks %}
87{% block content %}
9-
10- {% trans "Sign In" as heading %}
11- {% #container heading=heading %}
12- < div class ="py-3 ">
13- {% blocktranslate %}Enter Sign-In Code{% endblocktranslate %}
14- </ div >
15- < div class ="py-3 ">
16- {% setvar email_link %}
17- < a href ="mailto:{{ email }} "> {{ email }}</ a >
8+ {% trans "Sign In" as heading %}
9+ {% #container heading=heading %}
10+ < div class ="py-3 "> {% blocktranslate %}Enter Sign-In Code{% endblocktranslate %}</ div >
11+ < div class ="py-3 ">
12+ {% setvar email_link %}
13+ < a href ="mailto:{{ email }} "> {{ email }}</ a >
1814 {% endsetvar %}
1915 {% blocktranslate %}We’ve sent a code to {{ email_link }}. The code expires shortly, so please enter it soon.{% endblocktranslate %}
2016</ div >
2319{{ redirect_field }}
2420{% csrf_token %}
2521{% /form %}
26- < button type ="submit " class ="btn btn-red " form ="logout-from-stage ">
27- {% translate "Cancel" %}
28- </ button >
22+ < button type ="submit " class ="btn btn-red " form ="logout-from-stage "> {% translate "Cancel" %}</ button >
2923< form id ="logout-from-stage "
3024 method ="post "
3125 action ="{% url 'account_logout' %} ">
Original file line number Diff line number Diff line change 33{% load allauth_ui %}
44{% load widget_tweaks %}
55{% block content %}
6- {% trans "Mail me a sign-in code" as heading %}
7- {% #container heading=heading %}
8- < div class ="py-3 ">
9- {% blocktranslate %}You will receive an email containing a special code for a password-free sign-in.{% endblocktranslate %}
10- </ div >
11- {% url 'account_request_login_code' as action_url %}
12- {% #form form=form url=action_url button_text=heading %}
13- {{ redirect_field }}
14- {% csrf_token %}
15- {% /form %}
16- {% /container %}
6+ {% trans "Mail me a sign-in code" as heading %}
7+ {% #container heading=heading %}
8+ < div class ="py-3 ">
9+ {% blocktranslate %}You will receive an email containing a special code for a password-free sign-in.{% endblocktranslate %}
10+ </ div >
11+ {% url 'account_request_login_code' as action_url %}
12+ {% #form form=form url=action_url button_text=heading %}
13+ {{ redirect_field }}
14+ {% csrf_token %}
15+ {% /form %}
16+ {% /container %}
1717{% endblock content %}
You can’t perform that action at this time.
0 commit comments