From: Toshi MARUYAMA Date: Sat, 27 Aug 2011 03:17:14 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/documents/_form.rhtml. X-Git-Tag: 1.3.0~1303 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=94fd72c004da22300a08a629baeaca0ab499caf8;p=redmine.git rename .rhtml to .html.erb of app/views/documents/_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@6659 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb new file mode 100644 index 000000000..3e805c198 --- /dev/null +++ b/app/views/documents/_form.html.erb @@ -0,0 +1,15 @@ +<%= error_messages_for 'document' %> +
+ +

+<%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %>

+ +

+<%= text_field 'document', 'title', :size => 60 %>

+ +

+<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %>

+ +
+ +<%= wikitoolbar_for 'document_description' %> diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml deleted file mode 100644 index 3e805c198..000000000 --- a/app/views/documents/_form.rhtml +++ /dev/null @@ -1,15 +0,0 @@ -<%= error_messages_for 'document' %> -
- -

-<%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %>

- -

-<%= text_field 'document', 'title', :size => 60 %>

- -

-<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %>

- -
- -<%= wikitoolbar_for 'document_description' %>