Sha256: c463801ebf829bca1b9d6ae92255c9325a712b01b560c3716896c73aa0abb384
Contents?: true
Size: 625 Bytes
Versions: 20
Compression:
Stored size: 625 Bytes
Contents
<%- # pass in local :document with a SolrDocument method = (item_in_folder?(document.id) ? "delete" : "put") label = (item_in_folder?(document.id) ? "Unselect" : "Select") cssClass = (item_in_folder?(document.id) ? "deleteFolder" : "addFolder") -%> <%= form_tag( folder_path(document), :method => method, :class=> "folder_toggle #{cssClass}", "data-doc-id" => document.id, :title=>h(document[document_show_link_field])) do -%> <%= hidden_field(:bookmark, :title, :value => document[document_show_link_field]) %> <%= submit_tag(label, :class=>"folder_submit", :id => "folder_submit_#{document.id}") %> <% end %>
Version data entries
20 entries across 20 versions & 1 rubygems