Some fixes for task module.
This commit is contained in:
parent
a4f71bd672
commit
6c98c7c755
6 changed files with 24 additions and 15 deletions
|
|
@ -11,7 +11,7 @@
|
|||
= f.input :name
|
||||
= f.input :description
|
||||
= f.input :duration, :as => :select, :collection => 1..3
|
||||
= f.input :user_list, :as => :string, :input_html => { 'data-pre' => @task.users.map { |u| {:id => u.id, :name => u.nick} }.to_json }
|
||||
= f.input :user_list, :as => :string, :input_html => { 'data-pre' => @task.users.map { |u| u.token_attributes }.to_json }
|
||||
= f.input :required_users
|
||||
= f.association :workgroup
|
||||
= f.input :due_date, :include_blank => true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue