diff --git a/app/views/costlog/edit.html.erb b/app/views/costlog/edit.html.erb index 3049234147..e52f19322d 100644 --- a/app/views/costlog/edit.html.erb +++ b/app/views/costlog/edit.html.erb @@ -14,7 +14,7 @@ <%= back_url_hidden_field_tag %>
<%= f.text_field :work_package_id, :size => 6, :required => true %> <%= h("#{@cost_entry.work_package.to_s} ##{@cost_entry.work_package.id}: #{@cost_entry.work_package.subject}") if @cost_entry.work_package%>
+<%= f.text_field :work_package_id, :size => 6, :required => true %> <%= h("#{@cost_entry.work_package.to_s}") if @cost_entry.work_package%>
<%= f.text_field :spent_on, :size => 10, :required => true %><%= calendar_for('cost_entry_spent_on') %>
<% if User.current.allowed_to? :log_costs, @project %><%= f.select :user_id, user_collection_for_select_options, :required => true %>