2011-07-12 08:02:41 +00:00
|
|
|
<%= flash_messages %>
|
2012-02-13 05:02:52 +00:00
|
|
|
<table class="table main-list">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th class="span1 strong">
|
|
|
|
<input type="checkbox">
|
|
|
|
<a href class="list-remove"><i class="icon-trash"></i></a>
|
|
|
|
</th>
|
|
|
|
<th class="span7 select"><%= t('admin.title') %></th>
|
|
|
|
<th class="span1-2"><%= t('admin.author') %></th>
|
|
|
|
<th class="span1-2"><%= t('admin.intro') %></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% @designs.each do |design| %>
|
|
|
|
<tr>
|
|
|
|
<td><input type="checkbox"></td>
|
|
|
|
<td>
|
|
|
|
<%= design.title %>
|
|
|
|
<div class="quick-edit">
|
2012-02-24 11:11:51 +00:00
|
|
|
<ul class="nav nav-pills">
|
2012-02-13 05:02:52 +00:00
|
|
|
<li><%= link_to t(:edit), edit_admin_design_path(design), :class => 'edit' %></li>
|
|
|
|
<li class="dropdown"><%= link_to t(:delete), admin_design_path(design), :confirm => t('sure?'), :method => :delete, :class => 'delete' %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><%= design.author %></td>
|
|
|
|
<td><%= design.intro %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
2011-07-12 08:02:41 +00:00
|
|
|
</table>
|
2012-02-13 05:02:52 +00:00
|
|
|
<div class="form-actions">
|
|
|
|
<%= link_to content_tag(:i, nil, :class => 'icon-plus icon-white') + t('admin.add'), new_admin_design_path, :class => 'btn btn-primary' %>
|
2011-12-23 10:02:45 +00:00
|
|
|
</div>
|