Sha256: d427cfa8dd3e5aacdd1f32fee34a23cc964f6f56283c5435ae7753cff317850d

Contents?: true

Size: 863 Bytes

Versions: 24

Compression:

Stored size: 863 Bytes

Contents

<div class="block-batch float-right">
  <div class="dropdown">
    <a class="btn btn-circle btn-info btn-sm dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
      <i class="fa fa-share"></i>
      <span class=""><%= t('slash_admin.view.batch_actions') %></span>
    </a>
    <div class="dropdown-menu">
      <% if can? :destroy, @model_class %>
        <a
        class="dropdown-item batch-action"
        data-action="<%= slash_admin.batch_delete_path(@model_class.model_name.to_s.underscore) %>"
        data-message="<%= t('slash_admin.view.be_careful') %>" href="#"><i class="icon-trash">
        </i> <%= t('slash_admin.view.delete') %></a>
      <% end %>
    </div>
  </div>
  <div class="count">
    <span class="batch-current-selected">0</span> <%= t('slash_admin.view.selected_elements') %>
  </div>
</div>

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
slash_admin-1.2.2 app/views/slash_admin/shared/_batch_actions.html.erb
slash_admin-1.2.1 app/views/slash_admin/shared/_batch_actions.html.erb
slash_admin-1.2.0 app/views/slash_admin/shared/_batch_actions.html.erb
slash_admin-1.1.0 app/views/slash_admin/shared/_batch_actions.html.erb