Sha256: ec75b80e4b4e3d0be2a894315404c6f3d722e4ed80d29648675c1bc05e78b04e

Contents?: true

Size: 735 Bytes

Versions: 6

Compression:

Stored size: 735 Bytes

Contents

<h1>皮肤分类列表</h1>

<table>
  <tr>
    <th>
      ID
    </th>
    <th>名称</th>
    <th col='3'>操作</th>
  </tr>
  <% ::LoyalCore::Skin::Folder.nested_set_options do |folder| %>
    <tr>
      <td><%= folder.id %></td>
      <td><%= link_to "#{'- ' * folder.level} #{folder.name}", loyal_core_app.admin_skin_folder_url(
        :id => folder.id
      ) %></td>
      <td>
        <%= link_to "编辑", loyal_core_app.edit_admin_skin_folder_url(:id => folder.id) %>
        <%= link_to "删除", loyal_core_app.admin_skin_folder_url(:id => folder.id), :method => :delete, :confirm => '确定要删除吗?' %>
      </td>
    </tr>
  <% end %>
</table>

<%= link_to "新建", loyal_core_app.new_admin_skin_folder_url %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
loyal_core-0.0.6 app/views/loyal_core/admin/skin/folders/index.html.erb
loyal_core-0.0.5 app/views/loyal_core/admin/skin/folders/index.html.erb
loyal_core-0.0.4 app/views/loyal_core/admin/skin/folders/index.html.erb
loyal_core-0.0.3 app/views/loyal_core/admin/skin/folders/index.html.erb
loyal_core-0.0.2 app/views/loyal_core/admin/skin/folders/index.html.erb
loyal_core-0.0.1 app/views/loyal_core/admin/skin/folders/index.html.erb