<% if @is_nestable %>
<%= link_to(polymorphic_url([:nestable, :slash_admin, @model_class]), class: 'btn btn-circle btn-info btn-sm') do %>
<%= t('slash_admin.view.order') %>
<% end %>
<% end %>
<%= t('slash_admin.view.list', model_name: @model_class.model_name.human(count: 2)) %>
<% if can? :create, @model_class %>
<%= link_to(new_polymorphic_url([:slash_admin, @model_class]), class: 'btn btn-circle btn-primary btn-sm') do %>
<%= t('slash_admin.view.new') %>
<% end rescue nil %>
<% end %>