diff --git a/app/controllers/donation_sites_controller.rb b/app/controllers/donation_sites_controller.rb index 646f49c715..a0493ae068 100644 --- a/app/controllers/donation_sites_controller.rb +++ b/app/controllers/donation_sites_controller.rb @@ -26,7 +26,6 @@ def create render action: :new end end - format.js { render partial: "shared/table_row_prepend", object: @donation_site } end end diff --git a/app/views/donation_sites/index.html.erb b/app/views/donation_sites/index.html.erb index 9f6ff112b3..32fe4d4d27 100644 --- a/app/views/donation_sites/index.html.erb +++ b/app/views/donation_sites/index.html.erb @@ -33,24 +33,6 @@

Donation Sites

- -
- - - - - - - - - - - <%= render partial: 'shared/table_row_form', - object: @donation_site, - locals: {columns: [{name: :text_field}, {address: :text_field}, {contact_name: :text_field}, {email: :text_field}, {phone: :text_field}]} %> - -
Donation SiteAddressContact NameE-mailPhone 
-