pas.layouts.presidential_allowance ================================== .. py:module:: pas.layouts.presidential_allowance Classes ------- .. autoapisummary:: pas.layouts.presidential_allowance.PresidentialAllowanceCollectionLayout pas.layouts.presidential_allowance.PresidentialAllowanceFormLayout Module Contents --------------- .. py:class:: PresidentialAllowanceCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False) Bases: :py:obj:`onegov.pas.layouts.default.DefaultLayout` The default layout meant for the public facing parts of the site. .. py:property:: title :type: str .. py:property:: og_description :type: str .. py:property:: breadcrumbs :type: list[onegov.core.elements.Link] Returns the breadcrumbs for the current page. .. py:property:: editbar_links :type: list[onegov.core.elements.LinkGroup] | None A of :class:`onegov.org.elements.LinkGroup` classes. Each of them will be shown in the top editbar, with the group title being the dropdown title. .. py:class:: PresidentialAllowanceFormLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False) Bases: :py:obj:`onegov.pas.layouts.default.DefaultLayout` The default layout meant for the public facing parts of the site. .. py:property:: collection :type: onegov.pas.collections.presidential_allowance.PresidentialAllowanceCollection .. py:property:: title :type: str .. py:property:: og_description :type: str .. py:property:: breadcrumbs :type: list[onegov.core.elements.Link] Returns the breadcrumbs for the current page.