Sha256: 466a71e7b5ee20160b0a5f34220117de37dcf10fedb9a223511259af4d940ad4

Contents?: true

Size: 1.2 KB

Versions: 2

Compression:

Stored size: 1.2 KB

Contents

<div class="btn-group">
  <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" type="button" id="dropdownMenu_<%= id %>" aria-haspopup="true">
    <span class="sr-only">Press to </span>
    Select an action <span class="caret" aria-hidden="true"></span>
  </button>
  <ul role="menu" class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdownMenu_<%= id %>">
    <li role="menuitem" tabindex="-1">
      <%= link_to edit_collection_path(id),
                  class: 'itemicon itemedit',
                  title: 'Edit Collection' do %>
        <i class="glyphicon glyphicon-pencil" aria-hidden="true"></i> Edit Collection
      <% end %>
    </li>
    <li role="menuitem" tabindex="-1">
      <%= link_to collection_path(id),
                  class: 'itemicon itemtrash',
                  title: 'Delete Collection',
                  method: :delete,
                  data: {
                    confirm: "Deleting a collection from #{application_name} is permanent. Click OK to delete this collection from #{application_name}, or Cancel to cancel this operation" } do %>
        <i class="glyphicon glyphicon-trash" aria-hidden="true"></i> Delete Collection
      <% end %>
    </li>
  </ul>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.0.0.beta2 app/views/my/_collection_action_menu.html.erb
sufia-7.0.0.beta1 app/views/my/_collection_action_menu.html.erb