Sha256: 999155acb6a426aa0a9ee018109ae4683c8fc6aef301872edf6f45d432f94785
Contents?: true
Size: 923 Bytes
Versions: 54
Compression:
Stored size: 923 Bytes
Contents
<% include_works_link ||= can_ever_create_works? %> <% include_collections_link ||= can?(:create, ::Collection) %> <% if include_works_link || include_collections_link %> <ul class="nav navbar-nav"> <li class="dropdown"> <%= link_to curation_concerns.new_classify_concern_path, id: "add-content", class: "dropdown-toggle", data: { toggle: "dropdown"} do %> <span class="glyphicon glyphicon-plus"></span><span class="sr-only">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', main_app.new_collection_path, class: 'menu-heading new-collection', role: 'menuitem' %></li> <% end %> </ul> </li> </ul> <% end %>
Version data entries
54 entries across 54 versions & 1 rubygems