- pct_going = (availability_summary.player_going_count.to_f/team.player_member_count.to_f)*100.0
- pct_maybe = (availability_summary.player_maybe_count.to_f/team.player_member_count.to_f)*100.0
- pct_not_going = (availability_summary.player_not_going_count.to_f/team.player_member_count.to_f)*100.0
- pct_unknown = (availability_summary.player_unknown_count.to_f/team.player_member_count.to_f)*100.0

.progress
	div id="availability-bar-player-going-count-#{event.id}" class="progress-bar availability-bar going" role="progressbar" style="width:#{pct_going}%"
		= availability_summary.player_going_count
	div id="availability-bar-player-maybe-count-#{event.id}" class="progress-bar availability-bar maybe" role="progressbar" style="width:#{pct_maybe}%"
		= availability_summary.player_maybe_count
	div id="availability-bar-player-not-going-count-#{event.id}" class="progress-bar availability-bar not-going" role="progressbar" style="width:#{pct_not_going}%"
		= availability_summary.player_not_going_count
	div id="availability-bar-player-unknown-count-#{event.id}" class="progress-bar availability-bar unknown" role="progressbar" style="width:#{pct_unknown}%"
		= availability_summary.player_unknown_count
