mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-28 16:38:17 +00:00
Fix site settings docs for setting an icon
The "icon-" prefix is automatically added in SettingMenuItem. Using "icon-placeholder" as suggested would thus result in the CSS class "icon-icon-placeholder".
This commit is contained in:
parent
c038185915
commit
10e564b935
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ You can add an icon to the menu by passing an 'icon' argument to the ``register_
|
|||
|
||||
.. code-block:: python
|
||||
|
||||
@register_setting(icon='icon-placeholder')
|
||||
@register_setting(icon='placeholder')
|
||||
class SocialMediaSettings(BaseSetting):
|
||||
class Meta:
|
||||
verbose_name = 'social media accounts'
|
||||
|
|
|
|||
Loading…
Reference in a new issue