Skip to content

Commit

Permalink
Merge pull request #74 from cfpb/fix/class_name-to-classname
Browse files Browse the repository at this point in the history
Fix classname deprecation warning in Wagtail 4.2
  • Loading branch information
chosak authored Aug 15, 2023
2 parents d49b2f5 + 94fa56a commit 6520756
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
aria-label="{% trans 'Toggle breadcrumbs' %}"
aria-expanded="false"
>
{% icon name="breadcrumb-expand" class_name="w-w-4 w-h-4" %}
{% icon name="breadcrumb-expand" classname="w-w-4 w-h-4" %}
</button>

<div class="w-relative w-h-slim-header w-mr-4 w-top-0 w-z-20 w-flex w-items-center w-flex-row w-flex-1 sm:w-flex-none w-transition w-duration-300">
Expand All @@ -28,7 +28,7 @@
<a class="{{ breadcrumb_link_classes }}" href="{% url 'wagtailflags:list' %}">
{% trans 'Flags' %}
</a>
{% icon name="arrow-right" class_name=icon_classes %}
{% icon name="arrow-right" classname=icon_classes %}
</li>
{% if flag %}
<li class="{{ breadcrumb_item_classes }}">
Expand Down

0 comments on commit 6520756

Please sign in to comment.