<%= notice %>
<%= render 'manifestations/title', manifestation: @manifestation if @manifestation -%>
<%= label_tag :search_form_top, t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {id: 'search_form_top', class: 'search_form', placeholder: t('page.search_term')} -%>
<%= hidden_field_tag :manifestation_id, @manifestation.id if @manifestation -%>
<%= submit_tag t('page.search') -%>
<%= set_focus_on_search_form -%>
<%= t('activerecord.attributes.item.acquired_at') %>:
<%= t('advanced_search.from') %>
<%= text_field_tag 'acquired_from', @acquired_from, {class: 'date_field', placeholder: "#{t('page.example')}: 2012-04-12"} -%>
<%= t('advanced_search.to') %> <%= text_field_tag 'acquired_until', @acquired_until, {class: 'date_field', placeholder: "#{t('page.example')}: 2012-05-11"} -%>
<%= t('activerecord.attributes.item.item_identifier') -%> | <%= t('activerecord.models.library') -%> | <%= t('activerecord.models.shelf') -%> | <%= t('activerecord.attributes.item.call_number') -%> | <% if defined?(EnjuCirculation) %><%= t('activerecord.models.circulation_status') -%> | <% end %>
---|---|---|---|---|
<%- if item.item_identifier? -%> <%= link_to item.item_identifier, item -%> <%- else -%> (<%= link_to t('item.no_number'), item -%>) <%- end -%> | <%= link_to item.shelf.library.display_name.localize, item.shelf.library %> | <%= link_to item.shelf_display_name.localize, item.shelf -%> <%= render 'items/shelf_picture', item: item -%> | <%= item.call_number -%> | <% if defined?(EnjuCirculation) %><%= item.circulation_status.display_name.localize if item.circulation_status -%> <%- if item.rent? -%> ( <%= t('activerecord.attributes.checkout.due_date') -%>: <%= l(item.checkouts.first.due_date, format: :short) -%> ) <%- end -%> | <% end %>