File tree Expand file tree Collapse file tree
funds/templates/funds/admin Expand file tree Collapse file tree Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 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 %}
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 %}
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 %}
You can’t perform that action at this time.
0 commit comments