public Method

InstanceTag.error_wrapping(html_tag, has_error)

There's no documentation for this item.

Source Code

# File action_view/helpers/active_record_helper.rb, line 249
def error_wrapping(html_tag, has_error)
  has_error ? Base.field_error_proc.call(html_tag, self) : html_tag
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.