Issue #579 - If I accidentally select the wrong conference for a submission, I'd like to be able to change it. #580
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This pull request includes changes to the
submissions_controller.rb
andsubmissions/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
edit-submission.mp4
Deployment instructions
N/A
Database changes
N/A
New ENV variables
N/A