Sha256: 07715c97f88f537c5117a77bdeb12d729ce743aa627e8da723a33ba1e2ff6b0a

Contents?: true

Size: 1.83 KB

Versions: 25

Compression:

Stored size: 1.83 KB

Contents

<div class="document_viewer" id="cover_container">
  <div class="multipleEdit">

		<h2 class="section-title">Describe the Image</h2>
		<div id="description_editor">
		  <%= render :partial => "generic_content_objects/edit_description", :locals => {:content_type => "generic_image"} %>
		</div>
		
    <h2 class="section-title">Upload Content</h2>
    <div id="uploads">
      <%= render :partial => "file_assets/index", :locals => { :file_assets => @file_assets} %>
	  </div>

    <h2 class="section-title">Set Permissions</h2>
    <div id="permissions_editor">
      <%= render :partial => "permissions/index", :locals => {:document => document, :asset_id=>params[:id]} %>
    </div>
  
    <%#
    // This hidden form really belongs elsewhere, but putting it inside of an 
    // accordion section un-hides it, so I stuck it here for now. -MZ
    %>
    <form id="new_contributor" action="<%=url_for(:action=>"create", :controller=>"contributors", :asset_id=>params[:id]) %>" method="post">
      <input class="content_type" type="hidden" name="content_type" value="generic_content" />
      <p><label for="contributor_type">Contributor Type</label>
      <select id="contributor_type" name="contributor_type">
        <option value="person">Person</option>
        <option value="organization">Organization</option>
        <option value="conference">Conference</option>
      </select></p>
      <p><input type="submit" value="Add Contributor" /></p>
    </form>
  </div>
</div>
<% sidebar_items << capture do %>
  <%#= render :partial=>"catalog/_show_partials/facets", :locals=>{:document=>document, :facets_display_heading => "This document refers to:"} %>
  <%#= render :partial=>'facets' %>
  <%= delete_asset_link(params[:id], "GenericImage") %>
<% end %>
<%= async_load_tag(generic_content_object_path(params[:id], :layout=>"false", :method => ":get"), 'uploads') %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hydra-head-3.3.0 app/views/generic_images/_edit.html.erb
hydra-head-3.2.2 app/views/generic_images/_edit.html.erb
hydra-head-3.2.1 app/views/generic_images/_edit.html.erb
hydra-head-3.2.0 app/views/generic_images/_edit.html.erb
hydra-head-3.2.0.pre3 app/views/generic_images/_edit.html.erb
hydra-head-3.2.0.pre2 app/views/generic_images/_edit.html.erb
hydra-head-3.2.0.pre1 app/views/generic_images/_edit.html.erb
hydra-head-3.1.5 app/views/generic_images/_edit.html.erb
hydra-head-3.1.4 app/views/generic_images/_edit.html.erb
hydra-head-3.1.3 app/views/generic_images/_edit.html.erb
hydra-head-3.1.2 app/views/generic_images/_edit.html.erb
hydra-head-3.1.1 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.rc2 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.rc1 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.pre5 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.pre4 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.pre3 app/views/generic_images/_edit.html.erb
hydra-head-3.0.1 app/views/generic_images/_edit.html.erb
hydra-head-3.1.0.pre2 app/views/generic_images/_edit.html.erb