Sha256: ae1acf529bdc857bef3d2ac56cdfb90ffb51420a4b34317e3e4fd98fcfd7814a
Contents?: true
Size: 633 Bytes
Versions: 16
Compression:
Stored size: 633 Bytes
Contents
<tr class="file_asset" id ="assets_<%= format_pid(result["id"]) %>" > <td> <%= link_to result[solr_name("title", :text)], file_asset_path(result["id"]) %> </td> <td> <% if editor? %> <% if @container.nil? %> <% file_asset_url = file_asset_path(result["id"]) %> <% else %> <% file_asset_url = asset_file_asset_path(@container.pid, result["id"]) %> <% end %> <%= button_to("Delete", "/file_assets/" + result["id"] + "?container_id=" + @document[:id], :confirm => "Are you sure you want to delete this file?", :method => :delete, :class => "delete-button") %> <% end %> </td> </tr>
Version data entries
16 entries across 16 versions & 1 rubygems