I'm making a custom partial for a resource to enable only adding and removing.
I've successfully made so it lists all the resources and I can destroy them from the list.
But I can't get the "Add a new .." button to work.
I'm guessing that I'm missing an attribute or somthing for getting the remoteForm widget recognizing my button link.
I've created the button with: <%= link_to wording_for(:link, :new, config.abstract_model), '#', :data => { :link => new_path(:model_name => :node_access) }, :class => "create btn btn-info", :style => 'margin-left:10px' %>
Can anyone point me in the right direction?
Many thanks,
Mikael