ADD: Dateieinbindung in TinyMCE für Attachments
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<%= semantic_form_for @attachment do |f| %>
|
||||
<%= semantic_form_for [@thema,@attachment] do |f| %>
|
||||
<%= f.inputs do %>
|
||||
<%= f.input :name %>
|
||||
<%= f.input :datei, :as => :file %>
|
||||
<% end %>
|
||||
|
||||
<%= f.actions do %>
|
||||
|
||||
@@ -2,5 +2,5 @@
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
<%= link_to 'Show', @attachment %> |
|
||||
<%= link_to 'Back', attachments_path %>
|
||||
|
||||
<%= link_to 'Back', thema_attachments_path(@attachment.thema,@attachment) %>
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
<%= link_to 'Back', attachments_path %>
|
||||
<%= link_to 'Back', @thema %>
|
||||
|
||||
Reference in New Issue
Block a user