Add month names

This commit is contained in:
Matthew Mongeau
2012-07-19 17:33:07 -04:00
parent e247239b69
commit be450e6864

View File

@@ -3,6 +3,7 @@
<%! from django_countries.countries import COUNTRIES %>
<%! from student.models import UserProfile %>
<%! from datetime import date %>
<%! import calendar %>
<section id="signup-modal" class="modal signup-modal">
<div class="inner-wrapper">
@@ -59,7 +60,7 @@
<select name='date_of_birth__month'>
<option value="">month</option>
%for month in range(1,13):
<option value="${month}">${month}</option>
<option value="${month}">${month} - ${calendar.month_name[month]}</option>
%endfor
</select>