Skip to main content

Module form_render

Module form_render 

Source
Expand description

Server-side HTML for a forms::Form: every control is named by its address, so the posted body decodes with FormValues::from_pairs.

Structs§

References
The options of every source, the text typed into each select control and the controls a fill wrote (true if copied), by their submitted addresses.

Constants§

INDEX_PLACEHOLDER
Row index in the names inside a <template>; the browser renumbers it.

Functions§

render_form
Render form filled from values, marking errors at their addresses. A select control shows the label of the entity references resolves its value to, or the text typed into it.
render_form_reloading
render_form whose stale banner links to reload_url, the page that loads the entity afresh; empty reloads the current page.
without
The fields of form but the one keyed key, for a page that renders that field itself. N must be the remaining count: a mismatch fails the build.