osem-fcy/app
AEtherC0r3 fa56ff7f6d Add helper function for speaker selection
The line '@users = User.all.order(:name)' is replicated a lot of times
in EventsController and ProposalsController.
So, this commit removes it and adds a helper function
'speaker_selector_input' that generates the field where the @users
variable was used.
Also, it makes the query more specific.

Fix #1455

Other changes:
* Include the username in the drop down menu
* Add .active scope to User and corresponding tests
* Add :disabled trait to User factory
2017-05-20 18:27:07 +03:00
..
assets implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00
controllers Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
helpers Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
jobs Use ActiveJob to send comment mails 2016-04-22 11:31:19 +02:00
mailers Adapt the mailbot spec to the last changes 2016-04-22 14:53:10 +02:00
models Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
serializers Add schedule interval as attribute of a program 2017-04-01 21:39:20 +03:00
uploaders Give a bit more demo info in the conference description 2016-05-03 16:25:39 +02:00
views Add helper function for speaker selection 2017-05-20 18:27:07 +03:00