app/views/checkins/_checkin.html.erb in enju_circulation-0.1.0.pre30 vs app/views/checkins/_checkin.html.erb in enju_circulation-0.1.0.pre31
- old
+ new
@@ -7,10 +7,10 @@
</tr>
<%- @checkins.each_with_index do |checkin, i| -%>
<tr class="line<%= cycle("0", "1") -%>">
<td>
- <%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation -%>
+ <%= render 'manifestations/show_index', :manifestation => checkin.item.manifestation if checkin.item.manifestation -%>
</td>
<td>
<%= link_to checkin.item.item_identifier, checkin.item -%>
<br />
(<%= link_to checkin.item.shelf.library.display_name.localize, checkin.item.shelf.library %>)