Created
November 18, 2010 19:57
-
-
Save cfitz/705504 to your computer and use it in GitHub Desktop.
_edit.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% stylesheet_links << "../javascripts/date-picker/css/datepicker" %> | |
<% javascript_includes << infusion_javascripts(:default_no_jquery, :extras=>[:inline_editor_integrations], :debug=>true, :render_html=>false) %> | |
<% javascript_includes << "jquery.jeditable.mini" %> | |
<% javascript_includes << "date-picker/js/datepicker" %> | |
<% javascript_includes << "jquery.form.js" %> | |
<% javascript_includes << 'custom' %> | |
<% javascript_includes << "catalog/edit" %> | |
<% javascript_includes << "jquery.hydraMetadata.js" %> | |
<% javascript_includes << "/plugin_assets/fluid-infusion/infusion/components/undo/js/Undo.js" %> | |
<% javascript_includes << "jquery.notice.js" %> | |
<%# For Fancybox> %> | |
<% javascript_includes << "fancybox/jquery.fancybox-1.3.1.pack.js" %> | |
<% stylesheet_links << "../javascripts/fancybox/jquery.fancybox-1.3.1.css" %> | |
<%# For slider controls %> | |
<% javascript_includes << "select_to_ui_slider/selectToUISlider.jQuery.js" %> | |
<% stylesheet_links << ["../javascripts/select_to_ui_slider/css/ui.slider.extras.css"] %> | |
<% stylesheet_links << "slider" %> | |
<% extra_head_content << capture do %> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
$(document).catalogEdit(); | |
}); | |
</script> | |
<% end %> | |
<div class="document_viewer" id="cover_container"> | |
<div class="multipleEdit"> | |
<div id="loading" style="display:none;"> | |
<img src="/images/ajax-loader.gif" width="32" height="32" alt="Saving..."> | |
</img> | |
</div> | |
<% if flash[:notice] %> | |
<div class="notice"> | |
<%= flash[:notice] %> | |
</div> | |
<% end %> | |
<div id="accordion"> | |
<h2 class="section-title"><a href="#">Description</a></h2> | |
<%= render :partial => 'hydra_tunes/edit_description' %> | |
<h2 class="section-title"><a href="#">Upload Files</a></h2> | |
<div id="uploads" data-pid=<%= params[:id] %>></div> | |
<h2 class="section-title"><a href="#">Set permissions</a></h2> | |
<div id="permissions"> | |
<%= render :partial => "permissions/index", :locals => {:document => document, :asset_id=>params[:id]} %> | |
</div> | |
</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], "article") %> | |
<% end %> | |
<%= async_load_tag(asset_file_assets_path(params[:id], :layout=>"false"), 'uploads') %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment