kopia lustrzana https://github.com/wagtail/wagtail
Move HelpPanel documentation to avoid redefinition of wagtail.admin.edit_handlers module
rodzic
5ce14841d8
commit
a9a69bedf5
|
@ -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
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue