Sha256: 85843caa0685e2e958ddc7b48dd63b157b1ee954e2a7f3b34048b5a7638a47b4

Contents?: true

Size: 881 Bytes

Versions: 64

Compression:

Stored size: 881 Bytes

Contents

          <strong class="menu-heading item-with-options">Add a Work</strong>
          <ul class="item-options quick-classify">
            <% classification = CurationConcerns::QuickClassificationQuery.new(current_user) %>
            <% classification.each do |concern| %>
              <li><%= link_to(
                    "New #{concern.human_readable_type}",
                    new_polymorphic_path([main_app, concern]),
                    class: "item-option contextual-quick-classify #{dom_class(concern, 'new').gsub('_', '-')}",
                    role: 'menuitem'
                  ) %>
              </li>
            <% end %>
            <% unless classification.all? %>
              <li><%= link_to 'More Options', curation_concerns.new_classify_concern_path, class: 'item-option link-to-full-list', role: 'menuitem' %></li>
            <% end %>
          </ul>

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
curation_concerns-1.3.2 app/views/shared/_add_works.html.erb
curation_concerns-1.3.1 app/views/shared/_add_works.html.erb
curation_concerns-1.3.0 app/views/shared/_add_works.html.erb
curation_concerns-1.2.0 app/views/shared/_add_works.html.erb
curation_concerns-1.1.2 app/views/shared/_add_works.html.erb
curation_concerns-1.1.1 app/views/shared/_add_works.html.erb
curation_concerns-1.1.0 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta10 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta9 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta8 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta7 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta6 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta5 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta4 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta3 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta2 app/views/shared/_add_works.html.erb
curation_concerns-1.0.0.beta1 app/views/shared/_add_works.html.erb
curation_concerns-0.14.0 app/views/shared/_add_works.html.erb
curation_concerns-0.14.0.pre4 app/views/shared/_add_works.html.erb