<div id="content" class="col-md-9 col-sm-8 show-document">
  <%= render 'previous_next_doc' %>

  <% @page_title = t('blacklight.search.show.title', :document_title => document_show_html_title, :application_name => application_name).html_safe -%>
  <% content_for(:head) { render_link_rel_alternates } -%>
  <%# this should be in a partial -%>

  <div id="document" class="document <%= render_document_class %>" itemscope  itemtype="<%= @document.itemtype %>">
    <div id="doc_<%= @document.id.to_s.parameterize %>">
      <% # bookmark/folder functions -%>
      <%= render_document_partials @document, blacklight_config.view_config(:show).partials %>
    </div>
  </div>

 <%= render :partial => 'openurl',  :locals => { :document => @document } %>
</div>

<div id="sidebar" class="col-md-3 col-sm-4">
  <%= render_document_sidebar_partial %>
</div>

<div id="content" class="col-md-9 col-sm-8 show-document">
  <%= render 'previous_next_doc' %>

  <% @page_title = t('blacklight.search.show.title', :document_title => document_show_html_title, :application_name => application_name).html_safe -%>
  <% content_for(:head) { render_link_rel_alternates } -%>
  <%# this should be in a partial -%>

  <div id="document" class="document <%= render_document_class %>" itemscope  itemtype="<%= @document.itemtype %>">
    <div id="doc_<%= @document.id.to_s.parameterize %>">
      <% # bookmark/folder functions -%>
      <%= render_document_partials @document, blacklight_config.view_config(:show).partials %>
    </div>
     <%= render :partial => 'openurl',  :locals => { :document => @document } %>
  </div>

</div>

<div id="sidebar" class="col-md-3 col-sm-4">
  <%= render_document_sidebar_partial %>
</div>

Move COInS element inside document element on show page
Move COInS element inside document element on show page
