Pages

<%- if @pages.empty? -%>

No pages have been added yet.

<%- else -%> <%- @pages.each do |page| -%> <%- end -%>
Title  
<%= page.title %> (<%= link_to "Edit", edit_admin_page_path(page) %>) <%= link_to "Delete", admin_page_path(page), :method => :delete %>
<%- end -%>