I need to add some AJAX/JS functionality to my rails application.
This is the page I'm working on:

To display the content of the tab above, I'm calling
<%= render 'tape_bulk_cocs/sporeCounts' %>
Inside this partial is the following code (minus the html tags to display text):
<div id="samples">
<% if @tape_bulk_coc.tape_bulk_coc_samples.any? %>
<% @tape_bulk_coc.tape_bulk_coc_samples.each do |cur| %>
<% if !cur.spore_type_count %>
<%= link_to 'Add Spore Count', new_spore_type_count_path(:tape_bulk_coc_sample_id=>cur.id), :remote=>true, :id => "new_spore_count", class: "tiny button expanded" %>
<% end %>
<% end %>
<% end %>
</div>
Inside my spore_type_counts_controller/new I have:
def new
@spore_type_count = SporeTypeCount.new
@tape_bulk_sample_id = params[:tape_bulk_coc_sample_id]
@category_count = [["Rare: 1 to 10","Rare: 1 to 10"], ["Low: 11 to 100","Low: 11 to 100"], ["Medium: 101 to 1000","Medium: 101 to 1000"], ["High: > 1000","High: > 1000"]]
respond_to do |format|
format.js
end
end
Then, in app/views/spore_type_counts/new.js.erb
$('#samples').hide().after( '<%= j render("spore_type_counts/form") %>' );
So far everything works as intended, and when I click "Add Spore Count" the tab changes to appear like so:

This is where the problem I'm having happens.
When I submit the spore_type_counts/form I go into the create action for the controller which is this:
def create
@spore_type_count = SporeTypeCount.new(spore_type_count_params)
respond_to do |format|
if @spore_type_count.save
format.js { render 'tape_bulk_cocs/sporeCounts'}
end
end
end
Once here, everything submits to the database correctly, but the page does not change. I cannot figure out how to re-render the tape_bulk_cocs/sporeCounts partial (first picture).
Essentially, once I submit the form, I need to get from the spore_type_count_controller/new back to the tape_bulk_coc_controller/show and update my objects, without refreshing the page.
How can I do this? Or do I need to restructure my application to work differently?