% labelled_tabular_form_for :issue, @issue, :url => {:action => 'update', :id => @issue}, :html => {:id => 'issue-form', :class => nil, :method => :put, :multipart => true} do |f| %> <%= error_messages_for 'issue', 'time_entry' %>
<%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %>
<%= time_entry.select :activity_id, activity_collection_for_select_options %>
<%= time_entry.text_field :comments, :size => 60 %>
<%= custom_field_tag_with_label :time_entry, value %>