OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/views/projects/form/_modules.html.erb

16 lines
698 B

<fieldset class="box" id="project_modules">
<legend><%= l(:label_module_plural) %>
<span style="font-size:0.9em">(<%= check_all_links 'project_modules' %>)</span>
</legend>
<% Redmine::AccessControl.available_project_modules.each do |m| %>
<label class="floating">
<%= check_box_tag 'project[enabled_module_names][]',
m,
project.module_enabled?(m),
:id => "project_enabled_module_names_#{m}" %>
<%= l_or_humanize(m, :prefix => "project_module_") %>
</label>
<% end %>
<%= hidden_field_tag 'project[enabled_module_names][]', '' %>
<%= javascript_tag 'observeProjectModules()' %>
</fieldset>