<%= f.text_field :subject, :required => true %>
<%= f.text_area :description, :cols => 60, :rows => (@deliverable.description.blank? ? 10 : [[10, @deliverable.description.length / 50].max, 100].min), :accesskey => accesskey(:edit), :class => 'wiki-edit' %>
<%= f.text_field :due, :size => 10 %><%= calendar_for('deliverable_due') %>
<%= f.check_box(:project_manager_signoff) %>
<%= f.check_box(:client_signoff) %>
| <%= check_box(:deliverable, :type, {}, FixedDeliverable.name, HourlyDeliverable.name) %> <%= observe_field('deliverable_type', :function => "new Budget.changeType();") %> | ||
| <%= text_field :deliverable, :cost_per_hour, :size => 7 %> | ||
| <%= text_field :deliverable, :total_hours, :size => 7 %> | <%= content_tag(:span, 0, :class => "budget-calculation", :id => 'variableCost') %> | |
| <%= content_tag(:span, 0, :id => 'total-budget-calculation', :class => "budget-calculation") %> |