themengruppen verwaltung ergänzung

This commit is contained in:
Andreas Stephanides
2014-02-16 15:34:16 +01:00
parent 87d7cc247a
commit 82388150ff
9 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<%= semantic_form_for [@thema,@attachment],:remote=>true do |f| %>
<%= f.inputs do %>
<%= f.input :name %>
<%= f.input :datei, :as => :file %>
<% end %>
<%= f.actions do %>
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>

View File

@@ -0,0 +1,2 @@
$("#attachmentform").html("<%=escape_javascript( render :partial=>'attachments/rform' )%>")

View File

@@ -0,0 +1 @@
$("#attachmentform").html("<%=escape_javascript( render :partial=>'attachments/rform' )%>")