mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-14 04:04:03 +00:00
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 |
||
|---|---|---|
| .. | ||
| _encouragement_text.html.haml | ||
| _form.html.haml | ||
| _proposal_form.html.haml | ||
| _tooltip.html.haml | ||
| edit.html.haml | ||
| index.html.haml | ||
| new.html.haml | ||
| registrations.html.haml | ||
| show.html.haml | ||