Skip to content

Commit 1e00519

Browse files
authored
Try to fix tests (#446)
* Try to fix tests Tests are broken on .org https://app.circleci.com/pipelines/github/readthedocs/readthedocs.org/10773/workflows/73ad0168-daed-48b0-8d7e-fd268fbceb63/jobs/27086 Maybe the fix is as simple as this? * Linter * Linter again
1 parent 526b88c commit 1e00519

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

readthedocsext/theme/templates/profiles/private/advertising_profile.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{% extends "profiles/base_edit.html" %}
22

3-
{% load i18n %}
4-
{% load crispy_forms_tags %}
3+
{% load trans from i18n %}
4+
{% load crispy from crispy_forms_tags %}
55

66
{% block title %}
77
{% trans "Set advertising preferences" %}
88
{% endblock title %}
99
{% block profile_admin_advertising %}
1010
active
11-
{% endblock profile_admin_advertising %}
11+
{% endblock profile_admin_advertising %}
1212
{% block edit_content_header %}
1313
{% trans "Set advertising preferences" %}
1414
{% endblock edit_content_header %}
@@ -48,7 +48,7 @@
4848
{% endblocktrans %}
4949
</p>
5050

51-
<form class="ui form" method="POST" action=".">
51+
<form class="ui form" method="post" action=".">
5252
{% csrf_token %}
5353
{{ form|crispy }}
5454
<input class="ui button"

0 commit comments

Comments
 (0)