%= f.hidden_field :kind %>
<%= f.text_field :subject, :size => 80, :required => true %>
<%= f.text_area :description,
:cols => 60,
:rows => (@cost_object.description.blank? ? 10 : [[10, @cost_object.description.length / 50].max, 100].min),
:accesskey => accesskey(:edit),
:class => 'wiki-edit' %>
<%= f.text_field :fixed_date, :size => 10 %><%= calendar_for('cost_object_fixed_date') %>
<% if @cost_object.kind == "VariableCostObject" -%>
<%- end %>
<% if @cost_object.new_record? %>
<%= render :partial => 'attachments/form' %>
<% end %>
<%= wikitoolbar_for 'cost_object_description' %>
<% content_for :header_tags do %>
<%= javascript_tag "initialize_editinplace('src=\"#{image_path('cancel.png')}\" alt=\"#{l(:button_cancel_edit_budget)}\" title=\"#{l(:button_cancel_edit_budget)}\"' )" %>
<% end %>