Class: FormErrorsDrop
- Inherits:
-
Liquid::Drop
- Object
- Liquid::Drop
- FormErrorsDrop
- Includes:
- Enumerable
- Defined in:
- app/drops/form_errors_drop.rb
Overview
Represents submission errors on a FormTagDrop
Instance Method Summary collapse
-
#each(&block) ⇒ Object
Enumerates the attribute names with errors.
-
#messages ⇒ Array<String>
Returns an Array of Strings representing the errors.
-
#translated_fields ⇒ Hash
Returns a Hash of attribute name to display name.
Instance Method Details
#each(&block) ⇒ Object
Enumerates the attribute names with errors.
#messages ⇒ Array<String>
Returns an Array of Strings representing the errors.
#translated_fields ⇒ Hash
Returns a Hash of attribute name to display name.