Listing Pages

<%= for page <- @pages do %> <% end %>
Title Content
<%= page.title %> <%= page.content %> <%= link "Show", to: Routes.page_path(@conn, :show, page) %> <%= link "Edit", to: Routes.page_path(@conn, :edit, page) %> <%= link "Delete", to: Routes.page_path(@conn, :delete, page), method: :delete, data: [confirm: "Are you sure?"] %>
<%= link "New Page", to: Routes.page_path(@conn, :new) %>