Sha256: b72a2e43fd4d97ca25e56e9468480b33c23bdeb0571247345f229e19f5084437

Contents?: true

Size: 1.96 KB

Versions: 2

Compression:

Stored size: 1.96 KB

Contents

<form id="descriptive_metadata" action="<%= url_for(:action=>"update", :controller=>"assets", :content_type=>"mods_asset")%>" method="post" data-resourceType="mods_asset" accept-charset="utf-8">
  <input type="hidden" name="_method" value="put"/>
  <fieldset id="title_fields">
    <legend>Title</legend>
    <input class="content_type" type="hidden" name="content_type" value="mods_asset" />
    <dl>
      <dt>
        <%= fedora_field_label("descMetadata", [:title_info, :main_title], "Title:").html_safe %>
      </dt>
      <dd class="title">
        <%= fedora_text_field(@document_fedora,"descMetadata", [:title_info, :main_title], :multiple=>false).html_safe %>
      </dd>
      <dt>
        <%= fedora_field_label("descMetadata", [:title_info, :language], "Language:").html_safe %>
      </dt>
      <dd class="language">
        <%= fedora_text_field(@document_fedora,"descMetadata", [:title_info, :language], :multiple=>false).html_safe %>
      </dd>
    </dl>
  </fieldset>
  <fieldset id="contributor_fields">
    <legend>Contributors</legend>
    <%= render :partial => "contributors/index" %>
  </fieldset>

  <fieldset id="abstract_fields">
    <legend>Abstract</legend>
    <dl>
      <dt>
        <%= fedora_field_label("descMetadata", [:abstract], "Abstract:").html_safe %>
      </dt>
      <dd class="abstract">
        <%= fedora_text_area(@document_fedora,"descMetadata", [:abstract], :multiple=>false).html_safe %>
      </dd>
    </dl>
  </fieldset>
  <fieldset id="topic_fields">
    <legend>Topics</legend>
    <dl>
      <dt>
        <%= fedora_field_label("descMetadata", [:subject, :topic], "Topic(s):").html_safe %>
        <%= fedora_text_field_insert_link "descMetadata", [:subject, :topic] %>
      </dt>
      <dd id="topic_tag" class="topic_tag">
        <%= fedora_text_field(@document_fedora,"descMetadata", [:subject, :topic], :multiple=>true).html_safe %>
      </dd>
    </dl>
  </fieldset>
  <%= submit_tag 'Save Description', {:id => "submitDescription"} %>
</form>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre2 app/views/generic_content_objects/_edit_description.html.erb
hydra-head-3.0.0pre1 app/views/generic_content_objects/_edit_description.html.erb