Skip to main content

dirty_form

Function dirty_form 

Source
pub fn dirty_form(html: &str) -> bool
Expand description

Whether a form renders dirty, so leaving the page asks first: a refused save keeps what the user typed, and the server marks its form with data-form-dirty.