app/views/searches/_name.html.erb
<%= @search.name %>
<%= link_to 'Edit Name', edit_search_path(@search), method: :get, remote: true, class: 'btn btn-xs btn-default' %>
<%= link_to 'Copy Search', copy_search_path(@search), method: :post, id: 'copy_search_link', class: 'btn btn-xs btn-default' %>