Files
redmine_contracts/app/views/deliverables/_form.html.erb
2010-07-01 15:22:12 -07:00

17 lines
833 B
Plaintext

<% form.inputs do %>
<%= form.input :title, :required => true %>
<%= form.input :type, :required => true, :as => :select, :collection => [["Fixed", "FixedDeliverable"]] %>
<%= form.input :manager, :required => true, :collection => @project.users %>
<%= form.input :start_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_start_date') %>
<%= form.input :end_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_end_date') %>
<%= form.input :notes, :input_html => {:class => 'wiki-edit', :rows => '5'} %>
<%= form.input :total, :input_html => {:size => 10} %>
<% end %>
<% form.buttons do %>
<%= form.commit_button :label => l(:button_save) %>
<%= link_to(l(:button_cancel), cancel_path) %>
<% end %>
<%= wikitoolbar_for 'deliverable_notes' %>