]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/news/_form.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 14:16:46 +0000 (14:16 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 30 Aug 2011 14:16:46 +0000 (14:16 +0000)
: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

app/views/news/_form.html.erb [new file with mode: 0644]
app/views/news/_form.rhtml [deleted file]

diff --git a/app/views/news/_form.html.erb b/app/views/news/_form.html.erb
new file mode 100644 (file)
index 0000000..0cfe7a6
--- /dev/null
@@ -0,0 +1,8 @@
+<%= error_messages_for 'news' %>
+<div class="box tabular">
+<p><%= f.text_field :title, :required => true, :size => 60 %></p>
+<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
+<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
+</div>
+
+<%= wikitoolbar_for 'news_description' %>
diff --git a/app/views/news/_form.rhtml b/app/views/news/_form.rhtml
deleted file mode 100644 (file)
index 0cfe7a6..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<%= error_messages_for 'news' %>
-<div class="box tabular">
-<p><%= f.text_field :title, :required => true, :size => 60 %></p>
-<p><%= f.text_area :summary, :cols => 60, :rows => 2 %></p>
-<p><%= f.text_area :description, :required => true, :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
-</div>
-
-<%= wikitoolbar_for 'news_description' %>