beautify map invocations of users
This commit is contained in:
parent
1870276cd2
commit
e968919cce
4 changed files with 4 additions and 4 deletions
|
|
@ -36,7 +36,7 @@
|
|||
= t '.list.mail', email: mail_to(FoodsoftConfig[:mailing_list_subscribe])
|
||||
|
||||
#recipients
|
||||
= f.input :recipient_tokens, :input_html => { 'data-pre' => User.find_all_by_id(@message.recipients_ids).map { |u| u.token_attributes }.to_json }
|
||||
= f.input :recipient_tokens, :input_html => { 'data-pre' => User.find_all_by_id(@message.recipients_ids).map(&:token_attributes).to_json }
|
||||
= f.input :group_id, :as => :select, :collection => Group.undeleted.order('type DESC, name ASC').all.reject { |g| g.memberships.empty? }
|
||||
= f.input :private
|
||||
= f.input :subject, input_html: {class: 'input-xxlarge'}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue