<%= label_tag :library_adv, t('activerecord.models.library') %>: |
|
<%= label_tag :library_adv, t('activerecord.models.library') %>: |
<% @libraries.sort_by{|l| l.position }.each do |library| %>
<% end %>
<%= check_all_button "library_adv_", t('advanced_search.check_all') %>
|
<%= label_tag :query, t('page.search_term') -%>: | <%= search_field_tag 'query', nil, class: 'search_form_short', placeholder: t('page.search_term') -%> |
<%= text_field_tag 'title' -%> | |
<%= text_field_tag 'tag' -%> | |
<%= text_field_tag 'creator' -%> | |
<%= text_field_tag 'publisher' -%> | |
<%= text_field_tag 'isbn' -%> | |
<%= text_field_tag 'issn' -%> | |
<%= text_field_tag 'call_number' %> | |
<%= text_field_tag 'item_identifier' -%> | |
<%- types = ClassificationType.all.select{|t| ! t.classifications.empty? } -%> <%= select_tag 'classification_type', options_from_collection_for_select( types, :id, Proc.new{|e| e.display_name.localize } ) -%> <%= text_field_tag 'classification' -%> | |
<%= text_field_tag 'subject_text' -%> | |
<%= t('advanced_search.from') -%> <%= text_field_tag 'pub_date_from', nil, class: 'wide_date_text_field', placeholder: "#{t('page.example')}: 1978, 1978-04-12" -%> <%= t('advanced_search.to') -%> <%= text_field_tag 'pub_date_until', nil, class: 'wide_date_text_field', placeholder: "#{t('page.example')}: 2011, 2011-04-12"-%> | |
<%= t('advanced_search.from') -%> <%= text_field_tag 'acquired_from', nil, class: 'wide_date_text_field', placeholder: "#{t('page.example')}: 2005, 2005-04-01" -%> <%= t('advanced_search.to') -%> <%= text_field_tag 'acquired_until', nil, class: 'wide_date_text_field', placeholder: "#{t('page.example')}: 2011, 2011-03-31"-%> | |
<%= t('advanced_search.from') -%> <%= text_field_tag 'number_of_pages_at_least', nil, size: 5 -%> <%= t('advanced_search.to') -%> <%= text_field_tag 'number_of_pages_at_most', nil, size: 5 -%> | |
<%= hidden_field_tag 'advanced_search', 'true' -%> <%= submit_tag t('page.search') -%> |