fireartist/HTML-FormFu — pull request #23 by Sadrak (2014-05-26 20:47:44+00:00)
Title: - closing tag for error_container_tag missing

using error_container_tag + tt won't work, because of a missing > at the closing tag

also i have a problem with using error_attributes. Changing in the same file error.attributes to self.error_attributes work, but then the behavior when a error_container_tag is set is broken. I don't get what is the problem there, but error_attributes and error_container_attributes won't work properly.

Example:
error_attributes => { class => 'help-block', },
=>
Error

VS

error_container_tag => 'div',
error_container_attributes => { class => 'test', },
error_attributes => { class => 'help-block', },
=>

Error