A little bit of a kludge, but I could not see anyway I could overload
it, especially since the label and input can be separate.
For my special use with the input call, I just wrap the simple_form
call in a table, set SimpleForm.wrapper_tag = :tr. Then wrote a
helper:
def simple_form_row(content)
content.gsub(/<label/,"<th").gsub(/<\/label>/,"</th><td>").gsub(/<
\/tr>/,"</td></tr>")
end
<% SimpleForm.wrapper_tag = :tr %>
<table>
<%= f.simple_fields_for :posts do |posts_form| %>
<%= simple_form_row(posts_form.input :title) %>
<%= simple_form_row(posts_form.input :name) %>
<% end %>
</table>
CSS takes care of the rest.