<h1>Pages</h1>

<ol>
<%= for page <- @pages do %>
    <li><%= link page.title, to: page.title %> - <%= link "[Edit]", to: page.title<>"/edit" %></li>
<% end %>
</ol>

<h1>Pages</h1>

<ol>
<%= for page <- @pages do %>
  <li>
    <%= link page.title, to: page.title %> - <%= link "[Edit]", to: page_path(@conn, :edit, page.title) %>
  </li>
<% end %>
</ol>

Make Link to Edit Page dynamical
Make Link to Edit Page dynamical
