Sha256: d6a27b1db08137b8ecca73b7d86933d366a79c120ef73104697e50b8edd76235

Contents?: true

Size: 1.57 KB

Versions: 3

Compression:

Stored size: 1.57 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 => "hydra/file_assets/index", :locals => { :file_assets => @file_assets} %>
	  </div>

    <h2 class="section-title">Set Permissions</h2>
    <div id="permissions_editor">
      <%= render :partial => "hydra/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>

<%= async_load_tag(generic_content_object_path(params[:id], :layout=>"false", :method => ":get"), 'uploads') %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-head-4.0.3 app/views/generic_images/_edit.html.erb
hydra-head-4.0.2 app/views/generic_images/_edit.html.erb
hydra-head-4.0.1 app/views/generic_images/_edit.html.erb