Fix work package subject label

pull/6827/head
Hagen Schink 11 years ago
parent 2e661db019
commit 992b505532
  1. 2
      app/views/costlog/edit.html.erb

@ -14,7 +14,7 @@
<%= back_url_hidden_field_tag %>
<div class="box">
<p><%= f.text_field :work_package_id, :size => 6, :required => true %> <em><%= h("#{@cost_entry.work_package.to_s} ##{@cost_entry.work_package.id}: #{@cost_entry.work_package.subject}") if @cost_entry.work_package%></em></p>
<p><%= f.text_field :work_package_id, :size => 6, :required => true %> <em><%= h("#{@cost_entry.work_package.to_s}") if @cost_entry.work_package%></em></p>
<p><%= f.text_field :spent_on, :size => 10, :required => true %><%= calendar_for('cost_entry_spent_on') %></p>
<% if User.current.allowed_to? :log_costs, @project %>
<p><%= f.select :user_id, user_collection_for_select_options, :required => true %></p>

Loading…
Cancel
Save