updates class attribute of unit column

git-svn-id: https://dev.finn.de/svn/cockpit/trunk@78 7926756e-e54e-46e6-9721-ed318f58905e
pull/6827/head
hjust 15 years ago
parent 2516a9dad5
commit 4982537f69
  1. 2
      app/views/deliverables/_deliverable_cost.rhtml
  2. 2
      app/views/deliverables/_deliverable_hour.rhtml

@ -13,7 +13,7 @@
<% unless error_messages.blank? %><tr><td colspan="4"><%= error_messages %></td></tr><% end %>
<% fields_for prefix, deliverable_cost do |cost_form| %>
<tr class="cost_entry <%= classes %>" id="<%= id_prefix %>">
<td class="cost_units">
<td class="units">
<%= cost_form.text_field :units, :index => id_or_index, :size => 3 %>
<span id="<%= "#{id_prefix}_unit_name" %>">
<%=h deliverable_cost.cost_type.unit_plural %>

@ -13,7 +13,7 @@
<%if error_messages %><tr><td colspan="4"><%= error_messages %></td></tr><% end %>
<% fields_for prefix, deliverable_hour do |cost_form| %>
<tr class="cost_entry <%= classes %>" id="<%= id_prefix %>">
<td class="cost_units">
<td class="units">
<%= cost_form.text_field :hours, :index => id_or_index, :size => 3 %>
</td>
<td class="user">

Loading…
Cancel
Save