foodsoft/app/views/tasks/_form.html.haml

30 lines
791 B
Text
Raw Normal View History

= form.error_messages
2009-01-06 11:49:19 +01:00
%p
%b Name
2009-01-06 11:49:19 +01:00
%br/
= form.text_field :name
2009-01-06 11:49:19 +01:00
%p
%b Beschreibung
2009-01-06 11:49:19 +01:00
%br/
= form.text_area :description, :cols => 50, :rows => 10
2009-01-06 11:49:19 +01:00
%p
%b Verantwortliche
%small Aufgaben können mehrere Verantwortliche haben
2009-01-06 11:49:19 +01:00
/%br/
/= render :partial => "assignments"
%p
%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
%b Wieviel Benutzerinnen werden insgesamt benötigt?
2009-01-06 11:49:19 +01:00
%br/
= form.text_field :required_users, :size => 3
2009-01-06 11:49:19 +01:00
%p
%b Arbeitsgruppe
2009-01-06 11:49:19 +01:00
%br/
= 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
%b Fälligkeit
2009-01-06 11:49:19 +01:00
%br/
= form.date_select :due_date, :start_year => 2007, :include_blank => true