Sha256: b53c8b8e3632a1e23ab0cbb846a61d7a07ed76070b4d3fe870cc52d140cc9abc
Contents?: true
Size: 1.65 KB
Versions: 1
Compression:
Stored size: 1.65 KB
Contents
<%= render :partial => 'spree/admin/shared/contents_sub_menu' %> <div class='toolbar'> <ul class='actions'> <li> <p><%= button_link_to t('.new_page'), new_object_url, :icon => 'add' %></p> </li> </ul> <br class='clear' /> </div> <h1><%= t('.listing_pages') %></h1> <table class="index sortable"> <thead> <tr> <th><%= sort_link @search, :title, t("page.title") %></th> <th><%= sort_link @search, :path, t("page.path") %></th> <th><%= sort_link @search, :accessible, t("page.accessible") %></th> <th><%= sort_link @search, :visible, t("page.visible") %></th> <th><%= t("action") %></th> </tr> </thead> <tbody> <%- @collection.each do |page|%> <tr id="<%= dom_id page %>"> <td><span class="handle"> </span> <%=link_to page.title, object_url(page) %></td> <td><%= page.path %></td> <td><%= page.accessible %></td> <td><%= page.visible %></td> <td> <%= link_to_with_icon :accept, t('preview'), page.path, :onclick => 'window.open(this.href);return false;' %> <%= link_to_with_icon :pages, t('page.contents'), admin_page_contents_path(page) %> <%= link_to_edit page %> <%= link_to_delete page %> </td> </tr> <% end %> </tbody> </table> <%= paginate @collection %> <% content_for :sidebar do %> <div class="box"> <h3><%= t(:search) %></h3> <% @page = Spree::Page.metasearch %> <%= form_for [:admin, @page] do |f| %> <p> <label><%= t '.title_contains' %></label><br /> <%= f.text_field :title_contains, :size => 25 %> </p> <p><%= button t("search") %></p> <% end %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spree_essential_cms-0.3.0.rc1 | app/views/spree/admin/pages/index.html.erb |