Skip to main content

form_buttons_html

Function form_buttons_html 

Source
pub fn form_buttons_html(buttons: &Value) -> FormResult<String>
Expand description

Markup of buttons evaluated by bind_buttons, identical to the form footer buttons.

Every button must be an object with tag a or button, string text and attrs whose names are type, class, style, name, value, href or onclick and whose values are strings; anything else is an input error.