%#-- copyright OpenProject is a project management system. Copyright (C) 2012-2013 the OpenProject Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 3. See doc/COPYRIGHT.rdoc for more details. ++#%> <%= fields_for :time_entry, time_entry, { :builder => TabularFormBuilder, :lang => current_language} do |fields| %>
<%= fields.text_field :hours, :size => 6, :label => :label_spent_time %> <%= TimeEntry.human_attribute_name(:hours) %>
<%= fields.select :activity_id, activity_collection_for_select_options %>
<%= fields.text_field :comments, :size => 60 %>
<% time_entry.custom_field_values.each do |value| %><%= custom_field_tag_with_label :time_entry, value %>
<% end %> <% end %>