% labelled_tabular_form_for :issue, @issue, :url => {:action => 'edit', :id => @issue}, :html => {:id => 'issue-form', :class => nil, :multipart => true} do |f| %> <%= error_messages_for 'issue' %>
<%= time_entry.text_field :hours, :size => 6, :label => :label_spent_time %> <%= l(:field_hours) %>
<%= time_entry.text_field :comments, :size => 40 %>
<%= time_entry.select :activity_id, (@activities.collect {|p| [p.name, p.id]}) %>
<%=l(:label_attachment_plural)%><%= render :partial => 'attachments/form' %>