Sha256: 2a273c8748ee6bfa810b0f83a0a5d778d72ebe3d921439c5d31b4cfd3c79c992

Contents?: true

Size: 1.17 KB

Versions: 4

Compression:

Stored size: 1.17 KB

Contents

<div class="btn-group add-content">
  <%= link_to new_classify_concern_path, id: "add-content", class: "btn btn-primary dropdown-toggle", data: { toggle: "dropdown"} do %>
    <span class="icon icon-white icon-plus"></span><span class="visuallyhidden">Add</span>
  <% end %>
  <ul class="dropdown-menu quick-create">
    <li>
      <strong class="menu-heading item-with-options">Add a Work</strong>
      <ul class="item-options quick-classify">
        <% QuickClassificationQuery.each_for_context(current_user) do |concern| %>
          <li><%= link_to(
                "New #{concern.human_readable_type}",
                new_polymorphic_path([:curation_concern, concern]),
                class: "item-option contextual-quick-classify #{dom_class(concern, 'new').gsub('_', '-')}",
                role: 'menuitem'
              ) %>
          </li>
        <% end %>
        <li><%= link_to 'More Options', new_classify_concern_path, class: 'item-option link-to-full-list', role: 'menuitem' %></li>
      </ul>
    </li>
    <li class="divider"></li>
    <li><%= link_to 'Add a Collection',  new_collection_path, class: 'menu-heading new-collection', role: 'menuitem' %></li>
  </ul>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
curate-0.6.4 app/views/shared/_add_content.html.erb
curate-0.6.3 app/views/shared/_add_content.html.erb
curate-0.6.1 app/views/shared/_add_content.html.erb
curate-0.6.0 app/views/shared/_add_content.html.erb