katbin/lib/ketbin_web/templates/paste/show.html.eex
SphericalKat 99ad54cf68
chore: generate resources for pastes
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-12 03:28:28 +05:30

19 lines
323 B
Elixir

<h1>Show Paste</h1>
<ul>
<li>
<strong>Is url:</strong>
<%= @paste.is_url %>
</li>
<li>
<strong>Content:</strong>
<%= @paste.content %>
</li>
</ul>
<span><%= link "Edit", to: Routes.paste_path(@conn, :edit, @paste) %></span>
<span><%= link "Back", to: Routes.paste_path(@conn, :index) %></span>