Sha256: 9d46781f362ef0829c856e7b5883ce00d8a4d07aa47006e122c7ec233c6466ba
Contents?: true
Size: 894 Bytes
Versions: 10
Compression:
Stored size: 894 Bytes
Contents
<% include_works_link ||= can_ever_create_works? %> <% include_collections_link ||= can?(:create, ::Collection) %> <% if include_works_link || include_collections_link %> <div class="btn-group add-content"> <%= link_to curation_concerns.new_classify_concern_path, id: "add-content", class: "btn btn-primary dropdown-toggle", data: { toggle: "dropdown"} do %> <span class="glyphicon glyphicon-plus"></span><span class="visuallyhidden">Add</span> <% end %> <ul class="dropdown-menu quick-create"> <% if include_works_link %> <li> <%= render 'shared/add_works' %> </li> <li class="divider"></li> <% end %> <% if include_collections_link %> <li><%= link_to 'Add a Collection', collections.new_collection_path, class: 'menu-heading new-collection', role: 'menuitem' %></li> <% end %> </ul> </div> <% end %>
Version data entries
10 entries across 10 versions & 1 rubygems