Sha256: 1bfb8208e2227c517cc25625916e7f526a020fc474cee25ea58e71a42ade89f1
Contents?: true
Size: 1.28 KB
Versions: 28
Compression:
Stored size: 1.28 KB
Contents
<div id='actions'> <ul> <li> <%= render :partial => "/shared/admin/search", :locals => {:url => admin_pages_url} %> </li> <li> <%= link_to "Create New Page", new_admin_page_url, :class => "add_icon" %> </li> <% if Page.count > 1 and not searching? %> <li> <%= link_to "Reorder Pages", admin_pages_url, :id => "reorder_action", :class => "reorder_icon" %> <%= link_to "Done Reordering Pages", admin_pages_url, :id => "reorder_action_done", :style => "display: none;", :class => "reorder_icon" %> </li> <% end %> </ul> </div> <div id='records' class='tree'> <% if searching? %> <% if @pages.any? %> <h2>Search Results for "<%= params[:search] %>"</h2> <ul id='sortable_list'> <%= render :partial => "sortable_list" %> </ul> <% else %> <p> <strong>Sorry, no results found.</strong> </p> <% end %> <% else %> <% if @pages.any? %> <ul id='sortable_list'> <%= render :partial => "sortable_list" %> </ul> <% else %> <p> <strong>There are no pages yet. Click "Create New Page" to add your first page.</strong> </p> <% end %> <% end %> </div> <%= render :partial => "/shared/admin/make_sortable", :locals => {:tree => true } if Page.count > 1 %>
Version data entries
28 entries across 28 versions & 2 rubygems