diff --git a/fowl/game/templates/roster.html b/fowl/game/templates/roster.html
index 9d57c73..0c83072 100644
--- a/fowl/game/templates/roster.html
+++ b/fowl/game/templates/roster.html
@@ -11,16 +11,27 @@
- Stars |
+ Raw |
+ Smackdown |
+ Divas |
- {% for star in stars %}
+ {% for star_set in star_sets %}
- {{star}}{{star.division}} |
+ {% for star in star_set %}
+ {{star}} |
+ {% endfor %}
{% endfor %}
+Others
+
+ {% for other in others %}
+ - {{other}}
+ {% endfor %}
+
+
{% endblock %}
diff --git a/fowl/game/views.py b/fowl/game/views.py
index f8caaa0..3326077 100644
--- a/fowl/game/views.py
+++ b/fowl/game/views.py
@@ -159,10 +159,11 @@ def roster(request, league_id):
divisions = {'raw': [], 'smackdown': [], 'other': [], 'divas': []}
for star in Star.objects.all():
divisions[star.division].append(star)
- stars = izip_longest(divisions['raw'], divisions['smackdown'],
- divisions['divas'], divisions['other'])
+ star_sets = izip_longest(divisions['raw'], divisions['smackdown'],
+ divisions['divas'], fillvalue='')
context = {
- 'stars': stars,
+ 'star_sets': star_sets,
+ 'others': divisions['other'],
'view': 'roster',
'league': league,
'leagues': leagues