Sha256: 4c860e209d12c7bfd646563f24d99fbc5ac9dd96c980290c497a78a6352c91ea
Contents?: true
Size: 489 Bytes
Versions: 25
Compression:
Stored size: 489 Bytes
Contents
<tr class="file_asset" id ="assets_<%= format_pid(result["id"]) %>" > <td> <%= link_to result[solr_name("title", :text)], hydra_file_asset_path(result["id"]) %> </td> <td> <% if can? :edit, @document %> <%= button_to("Delete", "/hydra/assets/#{result["id"]}/file_assets/#{result["id"]}?container_id=#{@document[:id]}", :data => { :confirm => "Are you sure you want to delete this file?" }, :method => :delete, :class => "delete-button") %> <% end %> </td> </tr>
Version data entries
25 entries across 25 versions & 2 rubygems