Sha256: 43099bf3c60b7dd7979d3cf210c84cadc5180c84ebd4dea1b6e29fdc1758b744
Contents?: true
Size: 1.57 KB
Versions: 28
Compression:
Stored size: 1.57 KB
Contents
<% conference = edit_conference %> <% conference_counter = edit_conference_counter %> <% conference_name = get_values_from_datastream(@document_fedora,'descMetadata', [{:conference=>conference_counter}, :namePart]).first %> <% base_id = "conference_#{conference_counter}" %> <% if @document_fedora.class.respond_to?(:conference_relator_terms) %> <% choices = @document_fedora.class.conference_relator_terms %> <% else %> <% choices = Hydra::ModsArticle.conference_relator_terms %> <% end %> <li> <dl class="conference contributor" id="<%= base_id %>"> <dt> <%= fedora_field_label("descMetadata", [{:conference=>conference_counter}, :role, :text], "Conference's Role:").html_safe %> <%= fedora_select(@document_fedora,"descMetadata", [{:conference=>conference_counter}, :role, :text], :choices=>choices.values.sort).html_safe %> </dt> <dd class="organization"> <ul> <li> <%= fedora_field_label("descMetadata", [{:conference=>conference_counter}, :namePart], "Conference:").html_safe %> <%= fedora_text_field(@document_fedora,"descMetadata", [{:conference=>conference_counter}, :namePart], :multiple=>false).html_safe %> </li> </ul> <% if params[:action] == "edit" && !conference_name.empty? %> <%= field_selectors_for("descMetadata", [{:person=>conference_counter}]).html_safe %> <a class="destructive destroy_contributor" href="<%= asset_contributor_path(@document_fedora.pid, "conference", conference_counter) %>" title="Delete '<%= conference_name %>"> Delete</a> <% end %> </dd> </dl> </li>
Version data entries
28 entries across 28 versions & 1 rubygems