Sha256: a2df50c52b1b166f31a915f2d057809d7263a6f5eb7ec93ac9281fb38f6024e2

Contents?: true

Size: 409 Bytes

Versions: 6

Compression:

Stored size: 409 Bytes

Contents

<%# button for removing a batch from a collection %>
<%# collection -- collection to be updated  %>
<%# label -- button label %>
<%= form_for collection, url:collections.collection_path(collection.id), :method=>:put do |f| %>
    <%= f.hidden_field :members, :value => "remove" %>
    <%= f.submit label, :class => "btn btn-primary collection-remove-selected updates-collection submits-batches" %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hydra-collections-1.3.1 app/views/collections/_button_for_remove_selected_from_collection.html.erb
hydra-collections-1.3.0 app/views/collections/_button_for_remove_selected_from_collection.html.erb
hydra-collections-1.2.0 app/views/collections/_button_for_remove_selected_from_collection.html.erb
hydra-collections-1.2.0.rc1 app/views/collections/_button_for_remove_selected_from_collection.html.erb
hydra-collections-1.1.0 app/views/collections/_button_for_remove_selected_from_collection.html.erb
hydra-collections-1.0.0 app/views/collections/_button_for_remove_selected_from_collection.html.erb