0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Fix icon tag docstring

This commit is contained in:
Coen van der Kamp 2020-06-09 21:58:15 +02:00 committed by Dan Braghis
parent 8052c93795
commit 66da26b0c9

View File

@ -513,10 +513,10 @@ def icon(name=None, class_name='icon', title=None):
Usage:
{% load wagtailadmin_tags %}
...
{% icon name="cogs" classname="icon--red" title="Settings" %}
{% icon name="cogs" class_name="icon--red" title="Settings" %}
:param name: the icon name/id, required (string)
:param classname: default 'icon' (string)
:param class_name: default 'icon' (string)
:param title: accessible label intended for screen readers (string)
:return: Rendered template snippet (string)
"""