speakerline
speakerline copied to clipboard
Issue #579 - If I accidentally select the wrong conference for a submission, I'd like to be able to change it.
What does this PR do?
This pull request includes changes to the submissions_controller.rb
and submissions/edit.html.erb
files. The changes allow for the selection of an event instance when editing a submission and modify the way the proposal title and event instance are displayed.
Changes in detail:
-
app/controllers/submissions_controller.rb
: Added a line of code in theedit
method to fetch all events ordered by name in ascending order. This provides the necessary data for the event instance selection in the edit submission form. -
app/views/submissions/edit.html.erb
: Modified the display of the proposal title and event instance in the paragraph tag. Added a grouped collection select form helper to allow the selection of an event instance when editing a submission.
Why was this work done? Is there a related Issue?
Issue #579
Where should a reviewer start?
Probably in the view
Are there any manual testing steps?
Visit the "edit submission" page
Screenshots
https://github.com/nodunayo/speakerline/assets/6457189/33b49475-5b06-470e-b153-6f3060bd607c
Deployment instructions
N/A
Database changes
N/A
New ENV variables
N/A