Sha256: 139c7d98c78d90c4ed5c2c8289d7b122d267878664ff33032e38119986cdf1ed

Contents?: true

Size: 453 Bytes

Versions: 5

Compression:

Stored size: 453 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", "/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

5 entries across 5 versions & 1 rubygems

Version Path
hydra-head-4.0.0 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.0.rc6 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.0.rc5 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.0.rc4 app/views/hydra/file_assets/_result.html.erb
hydra-head-4.0.0.rc3 app/views/hydra/file_assets/_result.html.erb