% form_tag(project_project_enumerations_path(@project), :method => :put, :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, :title => (enumeration.active? ? l(:general_text_Yes) : l(:general_text_No)) %> |