I'm having trouble figuring out how to insert a button into a link_to_add_fields, like this:
<%= link_to_add_fields "Add Another Item", f, :items %>
while working on my Rails App.
I've attempted to include class: "btn btn-mini btn-info"
in various places, but I keep receiving an error about the number of arguments.
Interestingly, it does work in this line:
<%= f.link_to_remove "Remove this item", class: "btn btn-mini btn-info" %>
Any help would be greatly appreciated.