From 95370d4ae8680d68d8b6dc46ebf9b173c1615b28 Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Sat, 29 Mar 2014 12:43:24 +0100 Subject: [PATCH] verwalten template --- app/views/themen/verwalten.html.erb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 app/views/themen/verwalten.html.erb diff --git a/app/views/themen/verwalten.html.erb b/app/views/themen/verwalten.html.erb new file mode 100644 index 0000000..041efab --- /dev/null +++ b/app/views/themen/verwalten.html.erb @@ -0,0 +1,24 @@ +

<%= notice %>

+ +

<%= @thema.title %>

+

+ <%= raw(@thema.text) %> +

+ + +<%= render :partial=>'layouts/pretty_toolbar' %> + +<%= render :partial=>'themen/fragen' %> + +
+ +

<%= I18n.t('attachment.title')%>:

+
+
+<%= link_to new_thema_attachment_path(@thema) ,:remote=>true do %> new Attachment <% end %> +<%= render :partial => "themen/select", :object => @thema, :locals=>{:editor => :false} %>