Sha256: 5943fdbf4808958e6c4070c92dc02faa692d0e550a1926e20e65111eed6d2f5c

Contents?: true

Size: 917 Bytes

Versions: 5

Compression:

Stored size: 917 Bytes

Contents

<%= render :partial => 'admin/shared/configuration_menu' %>

<div class='toolbar'>
  <ul class='actions'>
    <li id="new_product_link">
      <%= button_link_to t("ext_static_content_new_page"), new_object_url, {:icon => 'add'} %>
    </li>
  </ul>
  <br class='clear' />
</div>

<h1><%=t("ext_static_content_static_pages") %></h1>

<table class="index">
	<tr>
		<th><%=t("ext_static_content_title")%></th>
		<th><%=t("ext_static_content_link")%></th>
		<th><%=t("ext_static_content_visible")%></th>
		<th><%=t("action")%></th>
  </tr>
	<tbody>
    	<% @pages.each do |page| %>
		<tr class="<%= cycle('even', 'odd') %>" id="<%= dom_id page %>">
			<td>
				<%= page.title %>
			</td>
			<td>
				<%= link_to page.link, page.link %>
			</td>
			<td>
			  <%= page.visible %>
			</td>
			<td>
        <%= link_to_edit page %> &nbsp;
        <%= link_to_delete page %>
	    </td>
		</tr>
		<% end %>
	</tbody>
</table>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spree_static_content-0.40.2 app/views/admin/pages/index.html.erb
spree_static_content-0.40.1 app/views/admin/pages/index.html.erb
spree_static_content-0.40.0 app/views/admin/pages/index.html.erb
spree_static_content-0.30.0 app/views/admin/pages/index.html.erb
spree_static_content-0.30.0.beta1 app/views/admin/pages/index.html.erb