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:
parent
8052c93795
commit
66da26b0c9
@ -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)
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user