wiki/lib/wiki_web/templates/page/show.html.eex

19 lines
315 B
Elixir
Raw Normal View History

2020-07-30 00:49:51 +00:00
<h1>Show Page</h1>
<ul>
<li>
<strong>Title:</strong>
<%= @page.title %>
</li>
<li>
<strong>Content:</strong>
2020-07-30 02:21:25 +00:00
<%= raw(@content) %>
2020-07-30 00:49:51 +00:00
</li>
</ul>
<span><%= link "Edit", to: Routes.page_path(@conn, :edit, @page) %></span>
<span><%= link "Back", to: Routes.page_path(@conn, :index) %></span>