% form_tag({:controller => 'projects', :action => 'save_activities', :id => @project}, :class => "tabular") do %>
<%= l(:field_name) %> | <%= l(:enumeration_system_activity) %> | <% TimeEntryActivity.new.available_custom_fields.each do |value| %><%= h value.name %> | <% end %><%= l(:field_active) %> |
---|---|---|---|
<%= ff.hidden_field :parent_id, :value => enumeration.id unless enumeration.project %> <%= h(enumeration) %> | <%= checked_image !enumeration.project %> | <% enumeration.custom_field_values.each do |value| %><%= custom_field_tag "enumerations[#{enumeration.id}]", value %> | <% end %><%= ff.check_box :active %> |