f3ndot / doorprize

A Rails application where cyclists who were "doored" can report their incident for the purpose of gathering statistics
www.doored.ca
MIT License
14 stars 0 forks source link

Create severity slider scale for incident report #1

Closed f3ndot closed 10 years ago

f3ndot commented 10 years ago

Add a severity attribute (integer between 0 - 10 inclusive) to the Incident model.

Display as a sliding scale in the UI to a user when reporting a new incident. As the slider is dragged left to right it should say the following:

0 - 1: Little to no injury. Scuffs and scrapes 2 - 3: Hurt. Cuts, bruises. Will probably follow up with doctor 4 - 5: Injured. Something may be broken or sprained. Blood from cuts. 6 - 7: Heavily injured. Incapacitated. Ambulance needed 8 - 9: Severely injured. May be life threatening. 10: Life in imminent danger or death