MiraitSystems/enju_trunk

View on GitHub
app/views/manifestations/_pickup.html.erb

Summary

Maintainability
Test Coverage
<% if manifestation %>
    <div id="pickup_book_jacket">
      <%= book_jacket(manifestation) -%>
    </div>
  <div style="float: left">
    <p>
    <strong><%= t('activerecord.models.subject') -%>:</strong>
    <%- manifestation.subjects.each do |subject| -%>
      <%= link_to subject.term, manifestations_path(:subject_id => "#{h(subject.id)}") -%>
    <%- end -%>
    </p>
    <% if defined?(EnjuBookmark) %>
      <p>
        <strong><%= t('page.tag') -%>:</strong>
        <%- manifestation.tags.each do |tag| -%>
          <%= link_to tag.name, manifestations_path(:tag => tag.name) -%>
        <%- end -%>
      </p>
    <% end %>
  </div>
  <div style="clear: both"></div>
  <div style="margin-top: 5px">
    <%= render 'manifestations/show_index', :manifestation => manifestation -%>
    <%= render 'manifestations/holding', :manifestation => manifestation -%>
  </div>
<% end %>