Ticket #346 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

merb_helpers adds "error" class to fields initially

Reported by: mi..@manicdev.com Assigned to:
Priority: medium Milestone: 0.5.0
Component: Plugins Keywords: merb_helpers
Cc:

Description

merb_helpers' errorify_field method adds an "error" class to fields when accessing a form for the first time that pertains to a model. This causes issues if you're styling the fields based on the "error" class, so that even when the form loads for the first time, it appears as though there are errors in the form.

Change History

12/13/07 22:59:41 changed by e.@brainspl.at

  • milestone changed from 0.4.2 to 0.5.0.

12/14/07 06:03:31 changed by has.s..@gmail.com

  • status changed from new to closed.
  • resolution set to fixed.

(In [1108]) Fixes issue with merb_helpers errorifying fields with new records. closes #346