pretty toolbar Neuigkeiten

This commit is contained in:
Andreas Stephanides
2013-08-27 22:03:05 +02:00
parent e6a1166a2d
commit 108a27e804
6 changed files with 48 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
<%= tinymce_assets %>
<%= semantic_form_for @neuigkeit do |f| %>
<%= semantic_form_for [@neuigkeit.rubrik,@neuigkeit] do |f| %>
<%= f.inputs do %>
<%= f.input :title, :placeholder=>"Titel" %>
<%= f.input :text, :as=>:tinymce_text %>

View File

@@ -29,4 +29,4 @@
</div>
</div>
<%= toolbar_html (@toolbar_elements) %>
<%= render 'layouts/pretty_toolbar', :object=> @toolbar_elements %>