%= labelled_form_for @issue, :html => {:id => 'issue-form', :multipart => true} do |f| %> <%= error_messages_for 'issue', 'time_entry' %> <%= render :partial => 'conflict' if @conflict %>
<%= 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 %>
<%=l(:label_attachment_plural)%><%= render :partial => 'attachments/form', :locals => {:container => @issue} %>