forked from bofh/fetsite
attachments view
This commit is contained in:
12
app/views/themen/_attachment_list.html.erb
Normal file
12
app/views/themen/_attachment_list.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<table>
|
||||
<% attachment_list.each do |a| %>
|
||||
<tr>
|
||||
<td>
|
||||
<%= render a %>
|
||||
</td>
|
||||
<td>
|
||||
<%= link_to "Edit", edit_thema_attachment_path(a.thema,a) %>
|
||||
</td>
|
||||
</tr>
|
||||
<% end %>
|
||||
</table>
|
||||
Reference in New Issue
Block a user