app/views/contributors/_edit_person.html.erb in hydra-head-3.3.0 vs app/views/contributors/_edit_person.html.erb in hydra-head-4.0.0.rc2

- old
+ new

@@ -31,9 +31,9 @@ <%= fedora_text_field(@document_fedora,"descMetadata", [{:person=>person_counter}, :institution], :multiple=>false, :required=>false ) %> </p> <% if ( (person_counter > 0) && (params[:action] == "edit" || params[:action] == "create")) %> <p class="delete-person"><%#= field_selectors_for("descMetadata", [{:person=>person_counter}]) %> - <%= link_to("Delete", asset_connect_path(:asset_id=>@document_fedora.pid, :contributor_type=>"person", :index=>person_counter, :content_type=>af_model), :title=>"Delete #{person_name}", :class=>"destructive destroy_contributor") %> + <%= link_to("Delete", hydra_asset_connect_path(:asset_id=>@document_fedora.pid, :contributor_type=>"person", :index=>person_counter, :content_type=>af_model), :title=>"Delete #{person_name}", :class=>"destructive destroy_contributor") %> </p> <% end %> </fieldset>