Cascadia-Connections / gybitg

Get your Butt in the Gym
MIT License
1 stars 1 forks source link

SelectList for PositionType not showing a 'space' between words #95

Closed keithrutler closed 5 years ago

keithrutler commented 5 years ago

Currently an enum is used to store the different positions. enums can not contain spaces. to properly view 'PointGuard' as 'Point Guard', conversions while displaying these will need to happen, or use something besides enum, like dictionary. DoD: The player's Position drop down list will display properly formatted Position names with spaces between the words.

keithrutler commented 5 years ago

This has been figured out, but only within a feature testing branch. There are also other changes not needed to be merged with develop. So a clean branch off of develop is still needed to make a clean pull request.

keithrutler commented 5 years ago

Joining Issue #86 to this issue. Removes the default status for athlete position and instead adds a --Select-- option shown as the first select list option. Also have added to Index view the ability to show previously saved athlete position within the manage page. So if an athlete wants to update some other stat, it will not reset her Position selection, but show the saved position as being selected instead of the default --Select-- Meets DoD: with the related pull request, this issue meets the Dod because the drop down menu displays spaces between the position names.