Skip to content

Conversation

@Arohasina
Copy link
Contributor

@Arohasina Arohasina commented Aug 1, 2025

Issue Description

Fixes #1564
-When we create an event, we should have a list of required training from which the user could choose one or more to complete the training(s). It should be under the start time and end time

Changes

  • Updated the event creation template to display a user-friendly list of required training options.
  • Ensured all duplicate training entries are removed from the list.
  • Enabled users to choose none, one, or multiple required trainings.
  • Updated the form logic to correctly handle multiple selections.
image

TO DO NEXT:

-Create a dedicated RequiredTraining table: move training options out of the current hardcoded or ad hoc structure into their own persistent model.
-Refactor event-training relationship: establish a relationship between events and required trainings using a foreign key or many-to-many association.
-Link training selections in the event views: display the associated required trainings in event detail and summary views.
image

@github-actions
Copy link

github-actions bot commented Aug 1, 2025

View Code Coverage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant