beautify map invocations of users
This commit is contained in:
parent
1870276cd2
commit
e968919cce
4 changed files with 4 additions and 4 deletions
|
|
@ -19,7 +19,7 @@
|
|||
= f.input :name
|
||||
= f.input :description, as: :text, input_html: {rows: 10}
|
||||
= f.input :duration, :as => :select, :collection => 1..3
|
||||
= f.input :user_list, :as => :string, :input_html => { 'data-pre' => @task.users.map { |u| u.token_attributes }.to_json }
|
||||
= f.input :user_list, :as => :string, :input_html => { 'data-pre' => @task.users.map(&:token_attributes).to_json }
|
||||
= f.input :required_users
|
||||
= f.association :workgroup
|
||||
= f.input :due_date, as: :date_picker
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue