]> source.dussan.org Git - redmine.git/commitdiff
rename .rhtml to .html.erb of app/views/projects/settings/_modules.rhtml.
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 11:49:34 +0000 (11:49 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Thu, 1 Sep 2011 11:49:34 +0000 (11:49 +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@6984 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/settings/_modules.html.erb [new file with mode: 0644]
app/views/projects/settings/_modules.rhtml [deleted file]

diff --git a/app/views/projects/settings/_modules.html.erb b/app/views/projects/settings/_modules.html.erb
new file mode 100644 (file)
index 0000000..9e0f92c
--- /dev/null
@@ -0,0 +1,19 @@
+<% form_for :project, @project,
+            :url => { :action => 'modules', :id => @project },
+            :html => {:id => 'modules-form'} do |f| %>
+            
+<div class="box">
+<fieldset>
+<legend><%= l(:text_select_project_modules) %></legend>
+
+<% Redmine::AccessControl.available_project_modules.each do |m| %>
+<p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m) -%>
+ <%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
+<% end %>
+</fieldset>
+</div>
+
+<p><%= check_all_links 'modules-form' %></p>
+<p><%= submit_tag l(:button_save) %></p>
+
+<% end %>
diff --git a/app/views/projects/settings/_modules.rhtml b/app/views/projects/settings/_modules.rhtml
deleted file mode 100644 (file)
index 9e0f92c..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<% form_for :project, @project,
-            :url => { :action => 'modules', :id => @project },
-            :html => {:id => 'modules-form'} do |f| %>
-            
-<div class="box">
-<fieldset>
-<legend><%= l(:text_select_project_modules) %></legend>
-
-<% Redmine::AccessControl.available_project_modules.each do |m| %>
-<p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m) -%>
- <%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
-<% end %>
-</fieldset>
-</div>
-
-<p><%= check_all_links 'modules-form' %></p>
-<p><%= submit_tag l(:button_save) %></p>
-
-<% end %>