wger
wger copied to clipboard
Allow decimal numbers for amount of minutes
If you enter a decimal numbers in the amount-field of the exercise you get a message that tells you to use the next integer value. With minutes as the unit it would make more sense to allow decimal numbers to be more precise.
Mhh, you are right. Since this is internally stored in an integer field, it would be a nice usability improvement to also accept times and convert them after saving e.g. (same goes for displaying the values)
Where can i find this problem?
When you add a new set you can select different units

This is rendered un set/formset.html (you might need to take a look at crispy forms helpers)