Sha256: d63c19c6497ec21359563a4a4c39cbcabbec9e381702903333c1de7c81a720e3

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 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]}", :confirm => "Are you sure you want to delete this file?", :method => :delete, :class => "delete-button") %>
   <% end %>
  </td>
</tr>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
hydra-head-4.0.3 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.2 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.1 app/views/hydra/file_assets/_result.html.erb