Current section

Files

Jump to
phoenix priv templates html show.html.eex
Raw

priv/templates/html/show.html.eex

<h2>Show <%= singular %></h2>
<ul>
<%= for {k, _} <- inputs do %>
<li>
<strong><%= Phoenix.Naming.camelize(Atom.to_string(k)) %>:</strong>
<%= "<%=" %> @<%= singular %>.<%= k %> <%= "%\>" %>
</li>
<% end %>
</ul>
<%= "<%=" %> link "Back", to: <%= singular %>_path(@conn, :index) <%= "%\>" %>