tinmce update

This commit is contained in:
2014-07-03 21:31:27 +05:30
parent d72ece824c
commit 527743c4c1
9 changed files with 40 additions and 26 deletions

View File

@@ -10,5 +10,5 @@
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>
<%= tinymce :theme => "simple", :language => "de", :plugins => ["wordcount", "paste"] %>
<% tinymce :compact %>

View File

@@ -10,4 +10,4 @@
<%= f.action :submit, :as => :input %>
<% end %>
<% end %>
<%= tinymce %>
<%= tinymce :menubar=>false %>

View File

@@ -10,7 +10,7 @@
<%= stylesheet_link_tag "themes/"+theme_name+"/application", :media => "all" unless theme_name.empty? %>
<%= stylesheet_link_tag "application", :media=>"all" if theme_name.empty? %>
<%= theme_stylesheet_link_tag "test", :media => "all" %>
<% theme_stylesheet_link_tag "test", :media => "all" %>
<% theme_stylesheet_link_tag "mod", :media=>"all" %>
<!-- <link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">

View File

@@ -1,6 +1,6 @@
<div id="themaview">
<h1><%= I18n.t("thema.add") %></h1>
<%= render 'form' %>
<%= render 'form', :remote=>false %>
</div>
<%= link_to 'Back', themen_path %>