Sha256: 125af361087dbc0946ec5346033d6a0133166b0ae6544a06cbac096a0db04248

Contents?: true

Size: 604 Bytes

Versions: 1

Compression:

Stored size: 604 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 %>
    	<%= link_to("Delete", "/file_assets/" + result["id"] + "?container_id=" + @document[:id], :method => :delete, :confirm => "Are you sure you want to delete this file?") %>
   <% end %>
  </td>
</tr>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hydra-head-3.0.0pre4 app/views/file_assets/_result.html.erb