Skip to main content

render_form_reloading

Function render_form_reloading 

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

render_form whose stale banner links to reload_url, the page that loads the entity afresh; empty reloads the current page.

ยงErrors

Returns the template error if rendering fails.