- 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', },
=>
<span>Error</span>

VS

error_container_tag => 'div',
error_container_attributes => { class => 'test', },
error_attributes => { class => 'help-block', },
=>
<div class="help-block">
<span class="help-block">Error</span>
</div>