tags: image and css - show ID in assets/index

This commit is contained in:
chris authored and ihower committed 2011-04-13 18:22:52 +08:00
1 parent 49e6509a51
commit 25752b7065
4 files changed
+22

No files matched your search

+2
View File
@@ -8,6 +8,7 @@
<table>
<tr>
<th><%= t('admin.id') %></th>
<th><%= t('admin.file_name') %></th>
<th><%= t('admin.description') %></th>
<th><%= t('admin.format') %></th>
@@ -18,6 +19,7 @@
<% @assets.each do |asset| %>
<tr>
<td><%= asset.id %></td>
<td><%= link_to asset.filename, asset.data.url, :target => '_blank' %></td>
<td><%= asset.description %></td>
<td><%= asset.data.file.content_type %></td>