Sha256: 20db1937f781ad761a045321d7bd4d14cea839dd6976806ea4db9c247efeff34

Contents?: true

Size: 914 Bytes

Versions: 1

Compression:

Stored size: 914 Bytes

Contents

<div class="block-batch pull-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>
      <i class="fa fa-angle-down fix-dropdown"></i>
    </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

1 entries across 1 versions & 1 rubygems

Version Path
slash_admin-0.1.0 app/views/slash_admin/shared/_batch_actions.html.erb