Skip to main content

render_form

Function render_form 

Source
pub fn render_form(
    form: &'static Form,
    values: &FormValues,
    errors: &[FieldError],
    action: &str,
    references: &References,
) -> Result<String>
Expand description

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.

ยงErrors

Returns the template error if rendering fails.