]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/issues/_form_custom_fields.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:50:43 +0000 (13:50 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 13:50:43 +0000 (13:50 +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@7008 e93f8b46-1217-0410-a6f0-8f06a7374b81

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

diff --git a/app/views/issues/_form_custom_fields.html.erb b/app/views/issues/_form_custom_fields.html.erb
new file mode 100644 (file)
index 0000000..7a66ed3
--- /dev/null
@@ -0,0 +1,12 @@
+<div class="splitcontentleft">
+<% i = 0 %>
+<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
+<% @issue.custom_field_values.each do |value| %>
+       <p><%= custom_field_tag_with_label :issue, value %></p>
+<% if i == split_on -%>
+</div><div class="splitcontentright">
+<% end -%>
+<% i += 1 -%>
+<% end -%>
+</div>
+<div style="clear:both;"> </div>
diff --git a/app/views/issues/_form_custom_fields.rhtml b/app/views/issues/_form_custom_fields.rhtml
deleted file mode 100644 (file)
index 7a66ed3..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-<div class="splitcontentleft">
-<% i = 0 %>
-<% split_on = (@issue.custom_field_values.size / 2.0).ceil - 1 %>
-<% @issue.custom_field_values.each do |value| %>
-       <p><%= custom_field_tag_with_label :issue, value %></p>
-<% if i == split_on -%>
-</div><div class="splitcontentright">
-<% end -%>
-<% i += 1 -%>
-<% end -%>
-</div>
-<div style="clear:both;"> </div>