Sha256: 32849bca46f7180609ea90e7febdabf3737b1262fe626f2af0025415f0491255

Contents?: true

Size: 499 Bytes

Versions: 2

Compression:

Stored size: 499 Bytes

Contents

<%= form_tag bookmarks_url, :name => "bookmarks" do %>
  <% documents.each_with_index do |document, index| %>
    <%= hidden_field_tag "bookmarks[#{index}][document_id]", document.get(:id)%>
    <%= hidden_field_tag "bookmarks[#{index}][title]", h(document[document_show_link_field])%>
  <% end %>
  <%= link_to_function t('blacklight.bookmarks.collection.add.button'), "document.bookmarks.submit()" %>
  <%= submit_tag t('blacklight.bookmarks.collection.add.button'), :class => 'hide' %>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-3.6.0 app/views/catalog/_bookmark_form.html.erb
blacklight-3.5.0 app/views/catalog/_bookmark_form.html.erb