org.views.document_form ======================= .. py:module:: org.views.document_form Attributes ---------- .. autoapisummary:: org.views.document_form.FormDefinitionT Functions --------- .. autoapisummary:: org.views.document_form.get_form_document_form org.views.document_form.view_document_form_page org.views.document_form.handle_new_document_form_page org.views.document_form.handle_edit_document_form_page org.views.document_form.delete_form_document Module Contents --------------- .. py:data:: FormDefinitionT .. py:function:: get_form_document_form(model: onegov.org.models.document_form.FormDocument | onegov.org.models.document_form.FormDocumentCollection, request: onegov.org.request.OrgRequest) -> type[onegov.org.forms.document_form.DocumentForm] .. py:function:: view_document_form_page(self: onegov.org.models.document_form.FormDocument, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.FormDocumentLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_new_document_form_page(self: onegov.org.models.document_form.FormDocumentCollection, request: onegov.org.request.OrgRequest, form: onegov.org.forms.document_form.DocumentForm, layout: onegov.org.layout.FormEditorLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: handle_edit_document_form_page(self: onegov.org.models.document_form.FormDocument, request: onegov.org.request.OrgRequest, form: onegov.org.forms.document_form.DocumentForm, layout: onegov.org.layout.FormEditorLayout | None = None) -> onegov.core.types.RenderData | webob.Response .. py:function:: delete_form_document(self: onegov.org.models.document_form.FormDocument, request: onegov.org.request.OrgRequest) -> None