Sha256: 557f8c8f15dae02810f9cb745010f0b56d86fff0bb79b89b90f6dc5c73274cd8
Contents?: true
Size: 675 Bytes
Versions: 4
Compression:
Stored size: 675 Bytes
Contents
<%- # pass in local :document with a SolrDocument if item_in_batch?(document.id) method = "delete" label = 'remove from batch' cssClass = "deleteBatch" else method = "put" label = 'add to batch' cssClass = "addBatch" end -%> <%= form_tag(batch_edit_path(document), :method => method, :class=> "batch_toggle #{cssClass} hidden", "data-doc-id" => document.id, "data-behavior" => 'batch-add-button', :title=>h(document[document_show_link_field])) do -%> <%= hidden_field(:bookmark, :title, :value => document[document_show_link_field]) %> <%= submit_tag(label, :class=>"batch_submit", :id => "batch_submit_#{document.id}") %> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems