<%= tinymce_assets %>
<%= semantic_form_for @thema, :remote=>remote do |f| %> <%= f.inputs do %>
<%= f.input :title %>
<%= f.input :themengruppe %>
<%= f.input :isdraft %>
<%= f.input :hidelink, :as=>:boolean %>
<%= f.input :hideattachment %> <%= f.input :sticky_intern %> <%= f.input :sticky_startpage %>
<%= f.input :text, :as=>:tinymce_text,:label=>false, :input_html=>{:rows=>20} %>
<% unless I18n.locale == :de %> <% I18n.with_locale(:de) do %> <%= raw(@thema.text) %> <% end %> <% end %>
<%= f.actions do %> <%= f.action :submit, :as => :button, :label=> I18n.t("thema.save" ) %> <%= f.action :submit, :as => :button, :label=> I18n.t("thema.savecont"), :button_html=>{:value=>"continue"} %> <%= f.action :cancel, :as => :link %> <% end %>
<% end %> <% end %> <%= tinymce %>
<%= tinymce_icon_choice %>

Attachments:

<%= render :partial => "themen/select", :object => @thema,:locals =>{ :editor => :true} %>