module-and-template-store/app/views/templates/show.html.erb

15 lines
251 B
Plaintext

<p id="notice"><%= notice %></p>
<p>
<strong>Title:</strong>
<%= @template.title %>
</p>
<p>
<strong>Author:</strong>
<%= @template.author %>
</p>
<%= link_to 'Edit', edit_template_path(@template) %> |
<%= link_to 'Back', templates_path %>