Sha256: 3a50d172c80ed592c76150df0548cbb496dd78511422be93268ce77539489c85

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

<%= content_tag(:div, :class => "asset", :id => "asset_#{file.id}") do %>
  <%= link_to file.original_name, file.url, :target => '_blank' %>
  <%= link_to t('admin.delete'), admin_asset_path(file), :remote => true, :method => :delete,
              :data => {:confirm => t('admin.delete_confirmation')}, :class => 'del btn btn-danger btn-mini' %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ab_admin-0.1.2 app/views/admin/fileupload/_file.html.erb
ab_admin-0.1.1 app/views/admin/fileupload/_file.html.erb
ab_admin-0.1.0 app/views/admin/fileupload/_file.html.erb