annotate .svn/pristine/15/15fb06eaccea2e7a2a26f4f458f36f318208cf74.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration

Fix failure to interpret Javascript when autocompleting members for project
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Thu, 11 Sep 2014 10:24:38 +0100
parents dffacf8a6908
children
rev   line source
Chris@1517 1 <%= form_for @project,
Chris@1517 2 :url => { :action => 'modules', :id => @project },
Chris@1517 3 :html => {:id => 'modules-form',
Chris@1517 4 :method => :post} do |f| %>
Chris@1517 5
Chris@1517 6 <fieldset class="box">
Chris@1517 7 <legend><%= l(:text_select_project_modules) %></legend>
Chris@1517 8
Chris@1517 9 <% Redmine::AccessControl.available_project_modules.each do |m| %>
Chris@1517 10 <p><label><%= check_box_tag 'enabled_module_names[]', m, @project.module_enabled?(m), :id => nil -%>
Chris@1517 11 <%= l_or_humanize(m, :prefix => "project_module_") %></label></p>
Chris@1517 12 <% end %>
Chris@1517 13 </fieldset>
Chris@1517 14 <p><%= check_all_links 'modules-form' %></p>
Chris@1517 15
Chris@1517 16 <p><%= submit_tag l(:button_save) %></p>
Chris@1517 17
Chris@1517 18 <% end %>