osem-fcy/app/views/proposals
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
..
_encouragement_text.html.haml Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController' 2016-09-30 18:49:44 -04:00
_form.html.haml Check if commercial has versions before displaying commercial creator 2016-11-22 10:33:32 +05:30
_proposal_form.html.haml Add helper function for speaker selection 2017-05-20 18:27:07 +03:00
_tooltip.html.haml Replace submitter with speakers in reports#index 2017-05-20 18:26:45 +03:00
edit.html.haml Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController' 2016-09-30 18:49:44 -04:00
index.html.haml Changed Ruby syntax in views. Fixed #1326 2017-03-20 18:27:39 +05:30
new.html.haml fix markdown issue 2017-03-06 20:57:04 +05:30
registrations.html.haml Rename 'ConferenceController' to 'ConferencesController', and 'ProposalController' to 'ProposalsController' 2016-09-30 18:49:44 -04:00
show.html.haml implement manual event management and support for multiple speakers per event 2017-04-13 17:15:21 +03:00