Sha256: 2e9d132910ce3abd66a4759f94a9f5032092b5958be5abf8e822077df0064b19

Contents?: true

Size: 617 Bytes

Versions: 3

Compression:

Stored size: 617 Bytes

Contents

<%= render :partial => 'sub_menu' %>

<div class="new_resource">
	<%= link_to "New", "" %>
	<b>We need to add the categories somewhere</b>
</div>

<table class="resource_list" border="0" cellspacing="5" cellpadding="5">
	<tr>
		<th>Title</th>
		<th>Permalink</th>
		<th>Weight</th>
		<th>Published On</th>
		<th></th>
	</tr>
	<% @content_parts.each do |content|%>
		<tr>
			<td><%= content.title %></td>
			<td><%= content.permalink %></td>
			<td><%= content.weight %></td>
			<td><%=l content.published_on.to_date %></td>
			<td><%= link_to "Edit", "" %>|<%= link_to "Destroy", ""%></td>
		</tr>
	<% end %>
</table>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 app/views/admin/content_parts/index.html.erb
spree-cms-0.2.0 app/views/admin/content_parts/index.html.erb
spree-cms-0.1.0 app/views/admin/content_parts/index.html.erb