Sha256: c8c96b475b35cd3461d67da06be44f7d6da85376e9ec9705ec592f9a65854c80

Contents?: true

Size: 440 Bytes

Versions: 80

Compression:

Stored size: 440 Bytes

Contents

<%= form_tag '/bookmarks', :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 "Add to Bookmarks", "document.bookmarks.submit()" %>
  <%= submit_tag 'Add to Bookmarks', :class => 'hide' %>
<% end %>

Version data entries

80 entries across 80 versions & 3 rubygems

Version Path
sufia-4.0.0.beta2 app/views/catalog/_bookmark_form.html.erb
sufia-4.0.0.beta1 app/views/catalog/_bookmark_form.html.erb
curate-0.6.6 app/views/catalog/_bookmark_form.html.erb
sufia-3.7.2 app/views/catalog/_bookmark_form.html.erb
sufia-3.7.1 app/views/catalog/_bookmark_form.html.erb
curate-0.6.5 app/views/catalog/_bookmark_form.html.erb
sufia-3.7.0 app/views/catalog/_bookmark_form.html.erb
curate-0.6.4 app/views/catalog/_bookmark_form.html.erb
sufia-3.6.1 app/views/catalog/_bookmark_form.html.erb
sufia-3.6.0 app/views/catalog/_bookmark_form.html.erb
curate-0.6.3 app/views/catalog/_bookmark_form.html.erb
sufia-3.5.0 app/views/catalog/_bookmark_form.html.erb
curate-0.6.1 app/views/catalog/_bookmark_form.html.erb
curate-0.6.0 app/views/catalog/_bookmark_form.html.erb
curate-0.5.6 app/views/catalog/_bookmark_form.html.erb
curate-0.5.5 app/views/catalog/_bookmark_form.html.erb
curate-0.5.4 app/views/catalog/_bookmark_form.html.erb
curate-0.5.2 app/views/catalog/_bookmark_form.html.erb
sufia-3.4.0 app/views/catalog/_bookmark_form.html.erb
curate-0.5.1 app/views/catalog/_bookmark_form.html.erb