Sha256: e92b643d40dd38f595dccb7905a49724e1e2ef92f935b9da620ae0240cda0a49

Contents?: true

Size: 775 Bytes

Versions: 2

Compression:

Stored size: 775 Bytes

Contents

<% unless @collection_options.empty? && @profile_collection_options.empty? %>
  <% modal_id = "#{document.noid}-modal" %>
  <div class="modal fade" id=<%= modal_id %>>
    <div class="modal-dialog">
      <div class="modal-content">
        <div class="modal-header">
          <h4 class="modal-title">Add <%= document %> to:</h4>
        </div>
        <%= render partial: 'curate/collections/form_to_add_member', locals: { collectible: document, fieldset_class: 'with-side-padding with-top-padding' } %>
      </div>
    </div>
  </div>

  <%= link_to 'Add to Collection', add_member_form_collections_path(collectible_id: document.pid), data: { toggle: "modal", target: ('#' + modal_id) }, method: :get, class: "pull-right btn add-to-collection", remote: true %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
curate-0.5.4 app/views/catalog/_add_to_collection_gui.html.erb
curate-0.5.2 app/views/catalog/_add_to_collection_gui.html.erb