Skip to content

Commit 2e231ad

Browse files
committed
djlint reformat
1 parent 1de7807 commit 2e231ad

File tree

2 files changed

+18
-24
lines changed

2 files changed

+18
-24
lines changed

allauth_ui/templates/account/confirm_login_code.html

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
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>
@@ -23,9 +19,7 @@
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' %}">

allauth_ui/templates/account/request_login_code.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
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 %}

0 commit comments

Comments
 (0)