<%= content_tag(:p, l(:label_easy_entity_important_message), :class => 'warning') %>

<%= render @query, :easy_query_name => l(:heading_easy_entity_imports) %>

<% ### PAGE CUSTOMS ########################################################## %>

<%= content_for(:easy_page_layout_service_box_primary_actions) do %>
  <% EasyEntityImport.descendants.each do |e| %>
    <% next if e.disabled? %>
    <% e_name = e.name.remove(/(.*)::/).underscore %>
    <p>
      <%= link_to(l("button_new_#{e_name}", default: e_name.humanize), new_easy_entity_imports_path(e), :class => 'button-positive icon icon-import ' + e_name.dasherize, :remote => true) %>
    </p>
  <% end %>
<% end %>
<%= call_hook(:view_easy_entity_imports_index_bottom) %>
