ADD: Dateieinbindung in TinyMCE für Attachments

This commit is contained in:
HausdorffHimself
2013-08-24 04:07:33 +02:00
parent adbbce5fc8
commit 94614b1d5b
11 changed files with 79 additions and 18 deletions

View File

@@ -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 %>

View File

@@ -2,5 +2,5 @@
<%= render 'form' %>
<%= link_to 'Show', @attachment %> |
<%= link_to 'Back', attachments_path %>
<%= link_to 'Back', thema_attachments_path(@attachment.thema,@attachment) %>

View File

@@ -2,4 +2,4 @@
<%= render 'form' %>
<%= link_to 'Back', attachments_path %>
<%= link_to 'Back', @thema %>