%
if (params["action"] == "journal_list")
@page_title = "Browse by Journal Title: #{params['id']}"
else
@page_title = 'Journal titles that '
@page_title +=
(params["umlaut.title_search_type"] == "begins") ?
'begin with ' : 'contain '
@page_title += "'" + params['rft.jtitle'] + "'"
end
%>
<%= @page_title %>
<%= form_tag({:controller=>'search', :action=>'journal_search'}, {:method=>'get', :name=>'OpenURL', :id=>'OpenURL'}) %>
<%-
# specific article fields from prior form may be present, if the user is now choosing from
# amongst serveral possible title matches. Preserve them on refinement of search terms.
-%>
<% params.slice("rft.date", "__year", "__month", "__day", "rft.volume", "rft.issue", "rft.spage").each_pair do |key, value| %>
<%= hidden_field_tag key, value %>
<% end %>
Journal Title:
<%= text_field :journal, :title, {:name=>'rft.jtitle', :autocomplete=>'off', :size=>'40', :value=>params['rft.jtitle'], :class=>"title_search"}
%>
<%= link_to('More search options', :controller=>'search') %>
<% if params["action"] == "journal_list" %>
<%= render :partial=>"a_to_z" %>
<% end %>
<% unless @hits == 0%>
Showing results <%= @start_result_num %> through <%= @end_result_num %> of <%= @hits %>
<% end %>
<% if params["rft.jtitle"] %>
Note: Alternate titles might have matched your search terms
<% end %>
<%= render :partial=>'pager' %>
<% @display_results.each do | co |
@current_context_object = co
%>
<% partial_name = @citation_partial || 'citation' %>
<%= render :partial=>partial_name %>
<% end %>
<%= render :partial=>'pager' %>
<% if params["action"] == "journal_list" %>
<%= render :partial=>"a_to_z" %>
<% end %>