##// END OF EJS Templates
set default category_id instead of the object (#11665)...
set default category_id instead of the object (#11665) Rails 2.3 still has issues with synchronizing the association_id and association attributes of an object. That means, if you set the association with an object first and then just set the id afterwards, the object wins and the setting of the id gets lost. This is not an issue in Rails >= 3.1 anymore. Contributed by Holger Just. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10226 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r8362:bddd2a740d7a
r10043:14dcefaa97f9
Show More
_modules.html.erb
20 lines | 627 B | text/plain | TextLexer
Jean-Philippe Lang
Added project module concept....
r714 <% form_for :project, @project,
:url => { :action => 'modules', :id => @project },
Toshi MARUYAMA
Rails3: view: use explicit post method at projects/settings/_modules.html.erb...
r8362 :html => {:id => 'modules-form',
:method => :post} do |f| %>
Toshi MARUYAMA
remove trailing white-spaces from app/views/projects/settings/_modules.html.erb...
r7098
Eric Davis
Fixed some labels to be more accessible....
r3222 <div class="box">
<fieldset>
<legend><%= l(:text_select_project_modules) %></legend>
Jean-Philippe Lang
Added translation support for project modules names and a few other strings....
r1137
Jean-Philippe Lang
Added project module concept....
r714 <% Redmine::AccessControl.available_project_modules.each do |m| %>
Jean-Philippe Lang
Changes ProjectsController#modules param name and add tests....
r4527 <p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m) -%>
Jean-Philippe Lang
Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2....
r2430 <%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
Jean-Philippe Lang
Added project module concept....
r714 <% end %>
Eric Davis
Fixed some labels to be more accessible....
r3222 </fieldset>
Jean-Philippe Lang
Added project module concept....
r714 </div>
<p><%= check_all_links 'modules-form' %></p>
<p><%= submit_tag l(:button_save) %></p>
<% end %>