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
This commit is contained in:
1 parent
fd748a558b
commit
4019f2052a
1 file changed
@@ -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 %>
|
||||
Reference in new issue
Block a user