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.
Instance Method Details
#error_message_on(object, field, options = {}) ⇒ String
Returns a string containing the error message attached to the method
on the object
if one exists.
#error_messages_for(*objects, options = {}) ⇒ String
Constructs list HTML for the errors for a given symbol.
© 2010–2016 Padrino
Licensed under the MIT License.
http://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Helpers/FormHelpers/Errors