diff --git a/docs/components/index.rst b/docs/components/index.rst index e96353f..d259e10 100644 --- a/docs/components/index.rst +++ b/docs/components/index.rst @@ -101,9 +101,58 @@ This renders the following html code:: -Panel with footer +Panel with heading ****************** +Add a nested ``panel-heading``:: + + {% panel %} + {% panelheading %} + Your panel heading + {% endpanelheading %} + {% panelbody %} + Lorem ipsum. + {% endpanelbody %} + {% endpanel %} + +This renders the following html code:: + +
+
+ Your panel heading +
+
+ Lorem ipsum. +
+
+ +In addition you may specify a ``panel-title`` within ``panel-heading`` using ``h1`` to ``h6``:: + + {% panel %} + {% panelheading %} + {% paneltitle use_tag="h1" %} + Your panel heading + {% panelheading %} + {% endpanelheading %} + {% panelbody %} + Lorem ipsum. + {% endpanelbody %} + {% endpanel %} + +This renders the following html code:: + +
+
+ Your panel heading +
+
+ Lorem ipsum. +
+
+ +Panel with footer +***************** + Add a nested ``panel-footer``:: {% panel %} diff --git a/setup.py b/setup.py index d8c8072..cf6ab81 100644 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ setup( name='django-bootstrap-ui', - version='0.1.0-alpha.3', + version='0.1.0a5', packages=find_packages(exclude=['tests', 'docs']), include_package_data=True, license='ISC License (ISCL)',