pub fn bind_buttons(
template: &FormTemplate,
data: &Value,
options: &BindOptions,
) -> FormResult<Vec<Value>>Expand description
Evaluate the template’s form buttons for a record.
Each button is an ordered JSON object type, tag, text, attrs; attrs keeps the
output order type, class, style, name, value, href, onclick. Text is the declared
content or the interface text of the button type in options.language; only the
language option applies.