From: Toshi MARUYAMA Date: Tue, 30 Aug 2011 14:16:46 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/news/_form.rhtml. X-Git-Tag: 1.3.0~1149 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bf923116c2a126469c720cdbaa32307f7708b4aa;p=redmine.git rename .rhtml to .html.erb of app/views/news/_form.rhtml. :rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6813 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/news/_form.html.erb b/app/views/news/_form.html.erb new file mode 100644 index 000000000..0cfe7a6d3 --- /dev/null +++ b/app/views/news/_form.html.erb @@ -0,0 +1,8 @@ +<%= error_messages_for 'news' %> +
+

<%= f.text_field :title, :required => true, :size => 60 %>

+

<%= f.text_area :summary, :cols => 60, :rows => 2 %>

+

<%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %>

+
+ +<%= wikitoolbar_for 'news_description' %> diff --git a/app/views/news/_form.rhtml b/app/views/news/_form.rhtml deleted file mode 100644 index 0cfe7a6d3..000000000 --- a/app/views/news/_form.rhtml +++ /dev/null @@ -1,8 +0,0 @@ -<%= error_messages_for 'news' %> -
-

<%= f.text_field :title, :required => true, :size => 60 %>

-

<%= f.text_area :summary, :cols => 60, :rows => 2 %>

-

<%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %>

-
- -<%= wikitoolbar_for 'news_description' %>