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']
|
= ff.link_to_remove icon(:remove), class: ['btn', 'btn-danger', 'btn-xs', 'pull-right']
|
||||||
span.clearfix
|
span.clearfix
|
||||||
.panel-body
|
.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
|
= ff.input :approved, default: true
|
||||||
.col-lg-6
|
.col-lg-6
|
||||||
.panel.panel-default
|
.panel.panel-default
|
||||||
|
|
Loading…
Reference in New Issue