Skip to content

Commit 791c625

Browse files
committed
The wagtailadmin/shared/field_as_li.html template has been removed.
1 parent ea8f6af commit 791c625

4 files changed

Lines changed: 20 additions & 16 deletions

File tree

hypha/apply/funds/templates/funds/admin/parent_chooser.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ <h2>{% blocktrans %}Choose a Fund{% endblocktrans %}</h2>
2121
{% csrf_token %}
2222

2323
<ul class="fields">
24-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.parent_page %}
24+
<li>
25+
{% include "wagtailadmin/shared/field.html" with field=form.parent_page %}
26+
</li>
2527
<li>
2628
<button type="submit" class="button">{% trans 'Continue' %}</button>
2729
</li>

hypha/apply/users/templates/two_factor/admin/disable.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
<ul class="fields">
1717
{% block fields %}
18-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.confirmation_text %}
18+
<li>
19+
{% include "wagtailadmin/shared/field.html" with field=form.confirmation_text %}
20+
</li>
1921
{% endblock %}
2022

2123
<li>

hypha/apply/users/templates/wagtailusers/users/create.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44
{% block fields %}
55
{% if form.separate_username_field %}
6-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.username_field %}
6+
<li>{% include "wagtailadmin/shared/field.html" with field=form.username_field %}</li>
77
{% endif %}
8-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.email %}
9-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.full_name %}
8+
<li>{% include "wagtailadmin/shared/field.html" with field=form.email %}</li>
9+
<li>{% include "wagtailadmin/shared/field.html" with field=form.full_name %}</li>
1010

1111
{% comment %}
1212
First/last name hidden input with dummy values because.. Wagtail admin
@@ -16,13 +16,13 @@
1616
{{ form.last_name }}
1717

1818
{% if form.password1 %}
19-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.password1 %}
19+
<li>{% include "wagtailadmin/shared/field.html" with field=form.password1 %}</li>
2020
{% endif %}
2121
{% if form.password2 %}
22-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.password2 %}
22+
<li>{% include "wagtailadmin/shared/field.html" with field=form.password2 %}</li>
2323
{% endif %}
2424
{% if form.is_active %}
25-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.is_active %}
25+
<li>{% include "wagtailadmin/shared/field.html" with field=form.is_active %}</li>
2626
{% endif %}
2727
{% endblock fields %}
2828

hypha/apply/users/templates/wagtailusers/users/edit.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@
4141
{% block fields %}
4242
<!-- Block Fields are overridden to show fields as per the requirement -->
4343
{% if form.separate_username_field %}
44-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.username_field %}
44+
<li>{% include "wagtailadmin/shared/field.html" with field=form.username_field %}</li>
4545
{% endif %}
46-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.email %}
47-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.full_name %}
46+
<li>{% include "wagtailadmin/shared/field.html" with field=form.email %}</li>
47+
<li>{% include "wagtailadmin/shared/field.html" with field=form.full_name %}</li>
4848
{% block extra_fields %}{% endblock extra_fields %}
4949

5050
{% comment %}
@@ -55,13 +55,13 @@
5555
{{ form.last_name }}
5656

5757
{% if form.password1 %}
58-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.password1 %}
58+
<li>{% include "wagtailadmin/shared/field.html" with field=form.password1 %}</li>
5959
{% endif %}
6060
{% if form.password2 %}
61-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.password2 %}
61+
<li>{% include "wagtailadmin/shared/field.html" with field=form.password2 %}</li>
6262
{% endif %}
6363
{% if form.is_active %}
64-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.is_active %}
64+
<li>{% include "wagtailadmin/shared/field.html" with field=form.is_active %}</li>
6565
{% endif %}
6666

6767
{% endblock fields %}
@@ -89,10 +89,10 @@
8989
>
9090
<ul class="fields">
9191
{% if form.is_superuser %}
92-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.is_superuser %}
92+
<li>{% include "wagtailadmin/shared/field.html" with field=form.is_superuser %}</li>
9393
{% endif %}
9494

95-
{% include "wagtailadmin/shared/field_as_li.html" with field=form.groups %}
95+
<li>{% include "wagtailadmin/shared/field.html" with field=form.groups %}</li>
9696
<li>
9797
<input type="submit" value="{% trans 'Save' %}" class="button"/>
9898
{% if can_delete %}

0 commit comments

Comments
 (0)