<%= t('page.listing', :model => t('activerecord.models.series_statement')) -%>

<%= form_for :series_statements, :url => series_statement_merge_list_series_statements_path(@series_statement_merge_list), :html => {:method => 'get'} do -%>

<%= t('page.search_term') -%>: <%= search_field_tag 'query', h(@query), {:id => 'search_form_top', :class => 'search_form', :placeholder => t('page.search_term')} -%> <%- if can? :update, @series_statement_merge_list -%> <%= render 'page/add' %> <%- end -%> <%= submit_tag t('page.search') -%> <%= link_to t('page.back_to_index'), series_statement_merge_list_series_statements_path(@series_statement_merge_list) -%>

<%- end -%>
<%- @series_statements.each do |series_statement| -%> "> <%- end -%>
<%= t('activerecord.attributes.series_statement.original_title') -%> <%= t('activerecord.attributes.series_statement.issn') -%> <%= t('activerecord.attributes.series_statement.series_statement_identifier') -%>
<%= link_to series_statement.original_title, series_statement_merge_list_series_statement_path(@series_statement_merge_list, series_statement) -%> <%= series_statement.issn -%> <%= series_statement.series_statement_identifier -%> <%- if can? :destroy, series_statement -%> <%- if params[:mode] == 'add' -%> <%= link_to t('page.add'), new_series_statement_merge_list_series_statement_merge_path(@series_statement_merge_list, :series_statement_id => series_statement.id) unless @series_statement_merge_list.series_statements.include?(series_statement) -%> <%- else -%> <%- series_statement_merge = @series_statement_merge_list.series_statement_merges.where(:series_statement_id => series_statement.id).first -%> <%= link_to t('page.destroy'), series_statement_merge_list_series_statement_merge_path(@series_statement_merge_list, series_statement_merge), :data => {:confirm => t('page.are_you_sure')}, :method => :delete if series_statement_merge -%> <%- end -%> <%- end -%>
<%= paginate(@series_statements) -%>