Sha256: b2efb8733fe7e08fb6c274f790c0c5982ca483a7749d84d5f5ba4542f2fdb055

Contents?: true

Size: 881 Bytes

Versions: 3

Compression:

Stored size: 881 Bytes

Contents

<%= render :partial => 'admin/content_parts/sub_menu' %>

<h1>Listing <%= @content_category.name %></h1>

<%= link_to "New Content", new_admin_content_category_content_part_path(@content_category) %>

<table class="index" border="0" cellspacing="5" cellpadding="5">
	<tr>
		<th>Title</th>
		<th>Permalink</th>
		<th>Weight</th>
		<th>Published On</th>
		<th></th>
	</tr>
	<tbody>
		<% @content_category.content_parts.each do |content|%>
			<tr>
				<td><%= content.title %></td>
				<td><%= content.permalink %></td>
				<td><%= content.weight %></td>
				<td></td>
				<td>
					<%= link_to "Edit", edit_admin_content_category_content_part_path(@content_category, content) %>
					|
					<%= link_to "Destroy", admin_content_category_content_part_path(@content_category, content), :method => :delete, :confirm => "Are you sure?"%>
				</td>
			</tr>
		<% end %>
	</tbody>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 app/views/admin/content_categories/show.html.erb
spree-cms-0.2.0 app/views/admin/content_categories/show.html.erb
spree-cms-0.1.0 app/views/admin/content_categories/show.html.erb