org.views.form_collection

Lists the custom forms.

Attributes

SortKey

Functions

combine_grouped(→ dict[str, ...)

view_form_collection(→ onegov.core.types.RenderData)

view_survey_collection(→ onegov.core.types.RenderData)

Module Contents

org.views.form_collection.SortKey: TypeAlias = Callable[[FormDefinition | ExternalLink], SupportsRichComparison][source]
org.views.form_collection.combine_grouped(items: dict[str, list[onegov.form.FormDefinition]], external_links: dict[str, list[onegov.org.models.external_link.ExternalLink]], sort: SortKey | None = None) dict[str, list[onegov.form.FormDefinition | onegov.org.models.external_link.ExternalLink]][source]
org.views.form_collection.view_form_collection(self: onegov.form.FormCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.FormCollectionLayout | None = None) onegov.core.types.RenderData[source]
org.views.form_collection.view_survey_collection(self: onegov.form.collection.SurveyCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.SurveyCollectionLayout | None = None) onegov.core.types.RenderData[source]