Skip to content

Commit

Permalink
Eliminate use of field_as_li.html
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Nov 3, 2023
1 parent 10a9093 commit aaf2a2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion generic_chooser/templates/generic_chooser/_create_tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<ul class="fields">
{% block visible_fields %}
{% for field in create_form.visible_fields %}
{% include "wagtailadmin/shared/field_as_li.html" %}
<li>{% include "wagtailadmin/shared/field.html" %}</li>
{% endfor %}
{% endblock %}
<li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<form class="chooser-search search-bar" action="{{ choose_url }}" method="GET" novalidate>
<ul class="fields">
{% for field in search_form %}
{% include "wagtailadmin/shared/field_as_li.html" with field=field %}
<li>{% include "wagtailadmin/shared/field.html" with field=field %}</li>
{% endfor %}
<li class="submit"><input type="submit" value="{% trans 'Search' %}" class="button" /></li>
</ul>
Expand Down

0 comments on commit aaf2a2e

Please sign in to comment.