<% semantic_form_for @model do |f| %>
<%= f.inputs :name => "My Inputs" %>
<%= f.input :field %>
<% end %>
This causes the form to be double rendered. Now I know what you're thinking, how could one be so silly to use <%= and then indent the next line? Well in my particular case I am using HAML, so the error is much more subtle. Haml version below..
- semantic_form_for @model do |f|
- f.inputs :name => "My Inputs"
= f.input :field
I realize this is user error, but perhaps this case could be detected and an error reported?
There's no way that I know of to catch this. The damage is done as soon as the = is read, as far as I can tell. Closing, will gladly accept magical patches :)