Skip to main content

Module forms

Module forms 

Source
Expand description

Web adapters of the shared forms.

Modules§

attempt
The submit step shared by the create and edit pages of a mutation form.
create
The create pages over a shared mutation form.
edit
The load and submit steps shared by the edit pages over a stored entity.
message
The one escaping path of the plain-text replies swapped into a result box.
options
The picker options of the shared forms, served from rpc::forms::options.
request
A form request read from its pairs and run once, counted as one request.
suggestions
The tag suggestions of the shared forms, served from rpc::forms::suggestions.

Functions§

decode
The values of a posted or queried body; one that does not decode counts as malformed.
failure_error
The error page for a form failure: a native’s condition keeps its message and status; any other internal cause is logged under context and never shown.
references
The options of the sources form selects from, which give each select control its label, with the text typed into the controls of a submit.
unprocessable_fields
The 422 page naming each field error, for a request with no form to re-render.