Sha256: 5f69718834efbad4ec91dfc0ddfec323970fb17dd5afe23ede53c3f4868f96b3
Contents?: true
Size: 1.59 KB
Versions: 12
Compression:
Stored size: 1.59 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::Datastream::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="<%= hydra_asset_contributor_path(@document_fedora.pid, "conference", conference_counter) %>" title="Delete '<%= conference_name %>"> Delete</a> <% end %> </dd> </dl> </li>
Version data entries
12 entries across 12 versions & 1 rubygems