forked from bofh/fetsite
CHANGE: Attachment-Einbindung in TinyMCE mit Thumbnails und eigenem Partial-View
This commit is contained in:
@@ -24,12 +24,4 @@
|
||||
<br/>
|
||||
|
||||
<h2>Attachments:</h2>
|
||||
<% @thema.attachments.each do |attachment| %>
|
||||
<ul>
|
||||
<li>
|
||||
<%= link_to attachment.name, edit_thema_attachment_path(@thema,attachment) %> | <%= link_to 'Destroy',[@thema,attachment], method: :delete, data: { confirm: 'Are you sure?' } %>
|
||||
</li>
|
||||
</ul>
|
||||
<% end %>
|
||||
<%= link_to 'Neues Attachment', new_thema_attachment_path(@thema) %>
|
||||
<br/>
|
||||
<%= render :partial => "themen/select", :object => @thema, :locals => { :editor => :false }%>
|
||||
|
||||
Reference in New Issue
Block a user