method
error_wrapping
rails latest stable - Class:
ActionView::Helpers::ActiveModelInstanceTag
error_wrapping(html_tag)public
No documentation available.
# File actionview/lib/action_view/helpers/active_model_helper.rb, line 28
def error_wrapping(html_tag)
if object_has_errors?
@template_object.instance_exec(html_tag, self, &Base.field_error_proc)
else
html_tag
end
end