mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-21 13:31:54 +00:00
Move HelpPanel documentation to avoid redefinition of wagtail.admin.edit_handlers module
This commit is contained in:
parent
5bd47f46d4
commit
5c1c9a6e2f
1 changed files with 21 additions and 24 deletions
|
|
@ -91,6 +91,27 @@ FieldRowPanel
|
|||
|
||||
A class to apply to the FieldRowPanel as a whole
|
||||
|
||||
HelpPanel
|
||||
---------
|
||||
|
||||
.. class:: HelpPanel(content='', template='wagtailadmin/edit_handlers/help_panel.html', heading='', classname='')
|
||||
|
||||
.. attribute:: HelpPanel.content
|
||||
|
||||
HTML string that gets displayed in the panel.
|
||||
|
||||
.. attribute:: HelpPanel.template
|
||||
|
||||
Path to a template rendering the full panel HTML.
|
||||
|
||||
.. attribute:: HelpPanel.heading
|
||||
|
||||
A heading for the help content.
|
||||
|
||||
.. attribute:: HelpPanel.classname
|
||||
|
||||
String of CSS classes given to the panel which are used in formatting and scripted interactivity.
|
||||
|
||||
PageChooserPanel
|
||||
----------------
|
||||
|
||||
|
|
@ -239,30 +260,6 @@ SnippetChooserPanel
|
|||
See :ref:`snippets` for more information.
|
||||
|
||||
|
||||
HelpPanel
|
||||
---------
|
||||
|
||||
.. module:: wagtail.admin.edit_handlers
|
||||
|
||||
.. class:: HelpPanel(content='', template='wagtailadmin/edit_handlers/help_panel.html', heading='', classname='')
|
||||
|
||||
.. attribute:: HelpPanel.content
|
||||
|
||||
HTML string that gets displayed in the panel.
|
||||
|
||||
.. attribute:: HelpPanel.template
|
||||
|
||||
Path to a template rendering the full panel HTML.
|
||||
|
||||
.. attribute:: HelpPanel.heading
|
||||
|
||||
A heading for the help content.
|
||||
|
||||
.. attribute:: HelpPanel.classname
|
||||
|
||||
String of CSS classes given to the panel which are used in formatting and scripted interactivity.
|
||||
|
||||
|
||||
Built-in Fields and Choosers
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue