Sha256: 74b603a5ecc5f63d60158c6030fd5eb690e0dc1cb7172a98932822e75c97564f
Contents?: true
Size: 940 Bytes
Versions: 1
Compression:
Stored size: 940 Bytes
Contents
<%= render :partial => 'admin/content_parts/sub_menu' %> <div class="new_resource"> <% form_for @new_category, :url => admin_content_categories_path do |f| %> <%= f.label :name %> <%= f.text_field :name %> <%= f.label :show_image %> <%= f.check_box :show_image %> <%= f.label :paginated %> <%= f.check_box :paginated %> <%= f.submit %> <% end %> </div> <table class="index" border="0" cellspacing="5" cellpadding="5"> <tr> <th>Name</th> <th>Show Image?</th> <th>Paginated?</th> <th>Part Count</th> <th></th> </tr> <tbody> <% @content_categories.each do |category|%> <tr> <td><%= category.name %></td> <td><%= category.show_image %></td> <td><%= category.paginated %></td> <td><%= category.content_parts.count %></td> <td><%= link_to "Destroy", admin_content_category_path(category), :method => :delete, :confirm => "Are you sure?"%></td> </tr> </tbody> <% end %> </table> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree-cms-0.1.0 | app/views/admin/content_categories/index.html.erb |