From: Toshi MARUYAMA Date: Wed, 24 Aug 2011 07:18:41 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/enumerations/_form.rhtml. X-Git-Tag: 1.3.0~1371 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=eb321291a1ca654ef567cde1dfe5245831abfc52;p=redmine.git rename .rhtml to .html.erb of app/views/enumerations/_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@6590 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/enumerations/_form.html.erb b/app/views/enumerations/_form.html.erb new file mode 100644 index 000000000..21b948166 --- /dev/null +++ b/app/views/enumerations/_form.html.erb @@ -0,0 +1,19 @@ +<%= error_messages_for 'enumeration' %> +
+ +<%= hidden_field 'enumeration', 'type' %> + +

+<%= text_field 'enumeration', 'name' %>

+ +

+<%= check_box 'enumeration', 'active' %>

+ +

+<%= check_box 'enumeration', 'is_default' %>

+ + +<% @enumeration.custom_field_values.each do |value| %> +

<%= custom_field_tag_with_label :enumeration, value %>

+<% end %> +
diff --git a/app/views/enumerations/_form.rhtml b/app/views/enumerations/_form.rhtml deleted file mode 100644 index 21b948166..000000000 --- a/app/views/enumerations/_form.rhtml +++ /dev/null @@ -1,19 +0,0 @@ -<%= error_messages_for 'enumeration' %> -
- -<%= hidden_field 'enumeration', 'type' %> - -

-<%= text_field 'enumeration', 'name' %>

- -

-<%= check_box 'enumeration', 'active' %>

- -

-<%= check_box 'enumeration', 'is_default' %>

- - -<% @enumeration.custom_field_values.each do |value| %> -

<%= custom_field_tag_with_label :enumeration, value %>

-<% end %> -