This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
2011-07-12 08:02:41 +00:00
|
|
|
<% content_for :secondary do %>
|
|
|
|
<ul class="list">
|
2011-08-22 05:45:21 +00:00
|
|
|
<li><%= link_to t(:new_design, :scope => :admin), new_admin_design_path %></li>
|
|
|
|
<li><%= link_to t('admin.upload_design'), upload_package_admin_designs_path %></li>
|
2011-07-12 08:02:41 +00:00
|
|
|
</ul>
|
|
|
|
<% end -%>
|
|
|
|
|
|
|
|
<%= flash_messages %>
|
|
|
|
|
|
|
|
<h1><%= t('admin.list_designs') %></h1>
|
|
|
|
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th><%= t('admin.title') %></th>
|
|
|
|
<th><%= t('admin.author') %></th>
|
|
|
|
<th><%= t('admin.intro') %></th>
|
|
|
|
<th><%= t('admin.action') %></th>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<% @designs.each do |design| %>
|
|
|
|
<tr>
|
|
|
|
<td><%= design.title %></td>
|
|
|
|
<td><%= design.author %></td>
|
|
|
|
<td><%= design.intro %></td>
|
|
|
|
<td>
|
|
|
|
<%= link_to t(:edit), edit_admin_design_path(design) %> |
|
|
|
|
<%= link_to t(:delete), admin_design_path(design), :confirm => t('sure?'), :method => :delete %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</table>
|