<% if can? :manage, Spotlight::Resource.new(exhibit: current_exhibit) %>
<%= render 'reindex_progress_panel' %>
<%= link_to t('.reindex'), reindex_all_exhibit_resources_path(current_exhibit), method: :post, class: 'btn btn-default' %> <% if Spotlight::Engine.config.resource_partials.any? %> <%= link_to t('.new_resource'), new_exhibit_resource_path(current_exhibit), class: 'btn btn-primary' %> <% end %>
<% end %>