Skip to content

Commit

Permalink
Merge pull request #5643 from nyaruka/djlint
Browse files Browse the repository at this point in the history
Address some complaints from djlint
  • Loading branch information
rowanseymour authored Nov 8, 2024
2 parents 114be58 + b98ce79 commit e2de738
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions templates/channels/types/line/config.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
To finish the configuration of Line channel you'll need to set the following callback URL in the Line Bot settings page, following the steps below:
{% endblocktrans %}
<div class="mt-6">
<div class="subtitle">{% trans 'Step One' %}</div>
<div class="subtitle">{% trans "Step One" %}</div>
{% blocktrans trimmed %}
Configure "Callback URL" in the channel page (the same page which get the information Channel Secret and Channel Access Token) by clicking on the "Edit" button, filling the field "webhook URL" and pressing on the "Save" button.
{% endblocktrans %}
Expand All @@ -14,7 +14,7 @@
<div class="code">https://{{ channel.callback_domain }}{% url 'courier.ln' channel.uuid %}</div>
</div>
<div class="mt-6">
<div class="subtitle">{% trans 'Step Two' %}</div>
<div class="subtitle">{% trans "Step Two" %}</div>
{% blocktrans trimmed %}
Fill the IP addresses in the "Server IP Whitelist" with the list of addresses displayed below.
{% endblocktrans %}
Expand Down
4 changes: 2 additions & 2 deletions templates/flows/flowlabel_delete.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
Are you sure you want to delete <b>{{ name }}</b>? This cannot be undone.
{% endblocktrans %}
<div class="hidden">
<form method="POST">
<input type="submit" value="{% trans 'Delete' %}">
<form method="post">
<input type="submit" value="{% trans "Delete" %}">
</form>
</div>
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion templates/orgs/login/confirm_access.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% blocktrans trimmed %}
To access this page please confirm your current password.
{% endblocktrans %}
<form method="POST">
<form method="post">
{% csrf_token %}
<div class="mt-4">
<temba-textinput name="password" placeholder="{{ _("Password") |escape }}" password="true">
Expand Down
2 changes: 1 addition & 1 deletion templates/orgs/login/two_factor_backup.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
enter one of your backup tokens below.
{% endblocktrans %}
</div>
<form method="POST">
<form method="post">
{% csrf_token %}
<div class="mt-4">
<temba-textinput name="token" maxlength="8" placeholder="{{ _("8-character token") |escape }}">
Expand Down
2 changes: 1 addition & 1 deletion templates/orgs/login/two_factor_verify.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
and enter the code below to verify your identity.
{% endblocktrans %}
</div>
<form method="POST">
<form method="post">
{% csrf_token %}
<div class="mt-4">
<input name="otp" maxlength="6" placeholder="{{ _("6-digit code") |escape }}" class="input">
Expand Down

0 comments on commit e2de738

Please sign in to comment.