From: Toshi MARUYAMA Date: Thu, 1 Sep 2011 11:49:34 +0000 (+0000) Subject: rename .rhtml to .html.erb of app/views/projects/settings/_modules.rhtml. X-Git-Tag: 1.3.0~979 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4019f2052ade3aa56ae30318641990aca008bf8c;p=redmine.git rename .rhtml to .html.erb of app/views/projects/settings/_modules.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@6984 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/projects/settings/_modules.html.erb b/app/views/projects/settings/_modules.html.erb new file mode 100644 index 000000000..9e0f92caa --- /dev/null +++ b/app/views/projects/settings/_modules.html.erb @@ -0,0 +1,19 @@ +<% form_for :project, @project, + :url => { :action => 'modules', :id => @project }, + :html => {:id => 'modules-form'} do |f| %> + +
+
+<%= l(:text_select_project_modules) %> + +<% Redmine::AccessControl.available_project_modules.each do |m| %> +

+<% end %> +
+
+ +

<%= check_all_links 'modules-form' %>

+

<%= submit_tag l(:button_save) %>

+ +<% end %> diff --git a/app/views/projects/settings/_modules.rhtml b/app/views/projects/settings/_modules.rhtml deleted file mode 100644 index 9e0f92caa..000000000 --- a/app/views/projects/settings/_modules.rhtml +++ /dev/null @@ -1,19 +0,0 @@ -<% form_for :project, @project, - :url => { :action => 'modules', :id => @project }, - :html => {:id => 'modules-form'} do |f| %> - -
-
-<%= l(:text_select_project_modules) %> - -<% Redmine::AccessControl.available_project_modules.each do |m| %> -

-<% end %> -
-
- -

<%= check_all_links 'modules-form' %>

-

<%= submit_tag l(:button_save) %>

- -<% end %>