2009-02-06 20:51:14 +01:00
|
|
|
= form.error_messages
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Name
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2009-02-06 20:51:14 +01:00
|
|
|
= form.text_field :name
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Beschreibung
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2009-02-06 20:51:14 +01:00
|
|
|
= form.text_area :description, :cols => 50, :rows => 10
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Verantwortliche
|
|
|
|
%small Aufgaben können mehrere Verantwortliche haben
|
2009-01-06 11:49:19 +01:00
|
|
|
/%br/
|
|
|
|
/= render :partial => "assignments"
|
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%small Benutze Kommas um mehrere Benutzerinnen zu trennen
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
|
|
|
= text_field_with_auto_complete :task, :user_list, {}, {:tokens => ","}
|
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Wieviel Benutzerinnen werden insgesamt benötigt?
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2009-02-06 20:51:14 +01:00
|
|
|
= form.text_field :required_users, :size => 3
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Arbeitsgruppe
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2009-02-06 20:51:14 +01:00
|
|
|
= form.select :workgroup_id, Workgroup.all(:order => 'name').collect {|g| [ g.name, g.id ] }, { :include_blank => true }
|
2009-01-06 11:49:19 +01:00
|
|
|
%p
|
2009-02-12 21:38:41 +01:00
|
|
|
%b Fälligkeit
|
2009-01-06 11:49:19 +01:00
|
|
|
%br/
|
2009-02-06 20:51:14 +01:00
|
|
|
= form.date_select :due_date, :start_year => 2007, :include_blank => true
|