Order users in event form by email
This commit is contained in:
parent
6f1a50d48d
commit
6e1090810a
|
@ -8,7 +8,7 @@
|
|||
= ff.link_to_remove icon(:remove), class: ['btn', 'btn-danger', 'btn-xs', 'pull-right']
|
||||
span.clearfix
|
||||
.panel-body
|
||||
= ff.association :participant, label_method: :email
|
||||
= ff.association :participant, collection: User.unscoped.order(email: :asc), label_method: :email
|
||||
= ff.input :approved, default: true
|
||||
.col-lg-6
|
||||
.panel.panel-default
|
||||
|
|
Loading…
Reference in New Issue