]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/documents/_form.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:17:14 +0000 (03:17 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sat, 27 Aug 2011 03:17:14 +0000 (03:17 +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@6659 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/documents/_form.html.erb b/app/views/documents/_form.html.erb
new file mode 100644 (file)
index 0000000..3e805c1
--- /dev/null
@@ -0,0 +1,15 @@
+<%= error_messages_for 'document' %>
+<div class="box">
+<!--[form:document]-->
+<p><label for="document_category_id"><%=l(:field_category)%></label>
+<%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %></p>
+
+<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label>
+<%= text_field 'document', 'title', :size => 60 %></p>
+
+<p><label for="document_description"><%=l(:field_description)%></label>
+<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
+<!--[eoform:document]-->
+</div>
+
+<%= wikitoolbar_for 'document_description' %>
diff --git a/app/views/documents/_form.rhtml b/app/views/documents/_form.rhtml
deleted file mode 100644 (file)
index 3e805c1..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-<%= error_messages_for 'document' %>
-<div class="box">
-<!--[form:document]-->
-<p><label for="document_category_id"><%=l(:field_category)%></label>
-<%= select('document', 'category_id', DocumentCategory.active.collect {|c| [c.name, c.id]}) %></p>
-
-<p><label for="document_title"><%=l(:field_title)%> <span class="required">*</span></label>
-<%= text_field 'document', 'title', :size => 60 %></p>
-
-<p><label for="document_description"><%=l(:field_description)%></label>
-<%= text_area 'document', 'description', :cols => 60, :rows => 15, :class => 'wiki-edit' %></p>
-<!--[eoform:document]-->
-</div>
-
-<%= wikitoolbar_for 'document_description' %>