@ -45,9 +45,7 @@ See doc/COPYRIGHT.rdoc for more details.
<%= form.collection_check_box :enabled_module_names,
name,
@project.module_enabled?(name),
l_or_humanize(name, :prefix => "project_module_"),
prefix: 'project_'
%>
l_or_humanize(name, :prefix => "project_module_") %>
</div>
<% end %>
@ -72,7 +72,7 @@ class TabularFormBuilder < ActionView::Helpers::FormBuilder
text = field.to_s + "_#{value}",
options = {})
label_for = "#{options[:prefix] || ''}#{field}_#{value}".to_sym
label_for = "#{object_name}_#{field}_#{value}".to_sym
input_options = options.reverse_merge(multiple: true,
checked: checked,