Files
fetsite/app/views/attachments/show.html.erb
Andreas Stephanides 0df5e72e15 attachment new version
2015-04-07 23:21:33 +02:00

11 lines
232 B
Plaintext

<p id="notice"><%= notice %></p>
<p>
<b>Name:</b>
<%= @attachment.name %>
<%= render @attachment %>
</p>
<%= link_to 'Edit', edit_attachment_path(@attachment) %> |
<%= link_to 'Back', polymorphic_path(@attachment.parent) %>