Skip to content
Snippets Groups Projects
Commit 00238738 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang
Browse files

Application welcome text is now textilized.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@652 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 7b366758
No related merge requests found
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
<%= text_field_tag 'settings[app_subtitle]', Setting.app_subtitle, :size => 60 %></p> <%= text_field_tag 'settings[app_subtitle]', Setting.app_subtitle, :size => 60 %></p>
<p><label><%= l(:setting_welcome_text) %></label> <p><label><%= l(:setting_welcome_text) %></label>
<%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5 %></p> <%= text_area_tag 'settings[welcome_text]', Setting.welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %></p>
<%= wikitoolbar_for 'settings[welcome_text]' %>
<p><label><%= l(:setting_default_language) %></label> <p><label><%= l(:setting_default_language) %></label>
<%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p> <%= select_tag 'settings[default_language]', options_for_select( lang_options_for_select(false), Setting.default_language) %></p>
......
<h2><%= l(:label_home) %></h2> <h2><%= l(:label_home) %></h2>
<div class="splitcontentleft"> <div class="splitcontentleft">
<p><%= Setting.welcome_text %></p> <%= textilizable Setting.welcome_text %>
<div class="box"> <div class="box">
<h3><%=l(:label_news_latest)%></h3> <h3><%=l(:label_news_latest)%></h3>
<%= render :partial => 'news/news', :collection => @news %> <%= render :partial => 'news/news', :collection => @news %>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment