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-0.14.0.pre3 app/views/shared/_add_works.html.erb
curation_concerns-0.14.0.pre2 app/views/shared/_add_works.html.erb
curation_concerns-0.14.0.pre1 app/views/shared/_add_works.html.erb
curation_concerns-0.13.1 app/views/shared/_add_works.html.erb
curation_concerns-0.13.0 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre9 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre8 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre7 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre6 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre5 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre4 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre3 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre2 app/views/shared/_add_works.html.erb
curation_concerns-0.12.0.pre1 app/views/shared/_add_works.html.erb
curation_concerns-0.11.0 app/views/shared/_add_works.html.erb
curation_concerns-0.11.0.rc1 app/views/shared/_add_works.html.erb
curation_concerns-0.10.0 app/views/shared/_add_works.html.erb
curation_concerns-0.9.0 app/views/shared/_add_works.html.erb
curation_concerns-0.8.0 app/views/shared/_add_works.html.erb