lib/rails/generators/humdrum/resource/templates/views/gumby/resource/index.js.erb in humdrum-rails-0.0.7 vs lib/rails/generators/humdrum/resource/templates/views/gumby/resource/index.js.erb in humdrum-rails-0.0.8

- old
+ new

@@ -2,14 +2,14 @@ // Fill the right box with first <%= instance_name %> details in the list $('#div_<%= instance_name %>_details').html("<%%= escape_javascript(render(:partial=>'show')) %>"); // Rendering the item list - $('#div_<%= instance_name %>_collections').html("<%%= escape_javascript(render(:partial=>"index")) %>"); + $('#div_<%= instance_name %>_index').html("<%%= escape_javascript(render(:partial=>"index")) %>"); <%% else %> - var noResultsText = "<div class=\"box text-color-grey padding-80 text-align-center\" style=\"height:200px;\">No <%= instances_name %> found.</div>"; + var noResultsText = "<div class=\"box text-color-grey padding-80 text-align-center\" style=\"height:200px;\">No <%= instances_title %> found.</div>"; $('#div_<%= instance_name %>_details').html(noResultsText); - $('#div_<%= instance_name %>_collections').html(noResultsText); + $('#div_<%= instance_name %>_index').html(noResultsText); <%% end %> \ No newline at end of file