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

<%= notice %>

<%= form_for :classifications, url: classifications_path, 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')} -%> <%= submit_tag t('page.search') -%>

<%- end -%>
<%- @classifications.each do |classification| -%> "> <%- end -%>
<%= t('activerecord.attributes.classification.category') -%> <%= t('activerecord.attributes.classification.label') -%> <%= t('activerecord.models.classification_type') -%>
<%= link_to classification.category, classification -%> <%= classification.label -%> <%= link_to classification.classification_type.display_name.localize, classification.classification_type -%> <%- if policy(classification).destroy? -%> <%= link_to t('page.edit'), edit_classification_path(classification) -%> <%= link_to t('page.destroy'), classification, data: {confirm: t('page.are_you_sure')}, method: :delete -%> <%- end -%>
<%= paginate(@classifications) -%>