28 lines
772 B
Plaintext
28 lines
772 B
Plaintext
<% content_for :secondary do %>
|
|
<div class="assets_setup">
|
|
<ul class="list">
|
|
<li><%= link_to t(:new_asset, :scope => :admin), new_admin_asset_path, :remote => true, :class => 'button positive' %></li>
|
|
</ul>
|
|
</div>
|
|
<% end -%>
|
|
|
|
<div class="main2">
|
|
<h1><%= t('admin.list_assets') %></h1>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<td><%= t('admin.id') %></th>
|
|
<td><%= t('admin.file_name') %></th>
|
|
<td><%= t('admin.description') %></th>
|
|
<td><%= t('admin.format') %></th>
|
|
<td><%= t('admin.orig_upload_file') %></th>
|
|
<td><%= t('admin.file_size') %></th>
|
|
<td><%= t('admin.action') %></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id='asset_tbody'>
|
|
<%= render :partial => 'asset', :collection => @assets %>
|
|
<tbody>
|
|
</table>
|
|
</div> |