formulator v0.4.0 Formulator.HtmlError View Source
Link to this section Summary
Link to this section Functions
html_error(form, field) View Source
Returns a struct with the appropriate error class and html for a form error.
If there are errors on the given field,
it will have a class to use in the form field in the
and an appropriate html tag to display the error message