Padrino::Helpers::FormHelpers::Errors
Module: Padrino::Helpers::FormHelpers::Errors
Overview
Helpers to generate form errors.
Instance Method Summary
-
#error_message_on(object, field, options = {}) ⇒ String
Returns a string containing the error message attached to themethod
on theobject
if one exists. -
#error_messages_for(*objects, options = {}) ⇒ String
Constructs list HTML for the errors for a given symbol