Sha256: e2938e120cddfde7fc8cde4cd8adf4e71396d0a5ba5fc303a952cd39d85b3130
Contents?: true
Size: 645 Bytes
Versions: 15
Compression:
Stored size: 645 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[:id]), :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
15 entries across 13 versions & 2 rubygems