Change over to new reg fields (styling still broken)
This commit is contained in:
@@ -27,18 +27,16 @@
|
||||
<input name="username" type="text" placeholder="Public Username*">
|
||||
<label>Full Name</label>
|
||||
<input name="name" type="text" placeholder="Full Name*">
|
||||
<label>Mailing address</label>
|
||||
<textarea name="mailing_address" placeholder="Mailing address"></textarea>
|
||||
</div>
|
||||
|
||||
<div class="input-group">
|
||||
<section class="citizenship">
|
||||
<label>Country</label>
|
||||
<label>Level of Education</label>
|
||||
<div class="input-wrapper">
|
||||
<select name="country">
|
||||
<select name="level_of_education">
|
||||
<option value="">--</option>
|
||||
%for country_code, country_name in COUNTRIES:
|
||||
<option value="${country_code}">${country_name}</option>
|
||||
%for code, ed_level in UserProfile.LEVEL_OF_EDUCATION_CHOICES:
|
||||
<option value="${code}">${ed_level}</option>
|
||||
%endfor
|
||||
</select>
|
||||
</div>
|
||||
@@ -56,31 +54,18 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="date-of-birth">
|
||||
<label>Date of birth</label>
|
||||
<section class="gender">
|
||||
<label>Year of birth</label>
|
||||
<div class="input-wrapper">
|
||||
<select name='date_of_birth__month'>
|
||||
<option value="">month</option>
|
||||
%for month in range(1,13):
|
||||
<option value="${month}">${month} - ${calendar.month_name[month]}</option>
|
||||
%endfor
|
||||
</select>
|
||||
|
||||
<select name='date_of_birth__day'>
|
||||
<option value="">day</option>
|
||||
%for day in range(1,32):
|
||||
<option value="${day}">${day}</option>
|
||||
%endfor
|
||||
</select>
|
||||
|
||||
<select name='date_of_birth__year'>
|
||||
<option value="">year</option>
|
||||
%for year in range(date.today().year,1899,-1):
|
||||
<option value="${year}">${year}</option>
|
||||
%endfor
|
||||
</select>
|
||||
<input name="year_of_birth" type="text" placeholder="Year of birth">
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<label>Mailing address</label>
|
||||
<textarea name="mailing_address" placeholder="Mailing address"></textarea>
|
||||
<label>Goals in signing up for edX</label>
|
||||
<textarea name="goals" placeholder="Goals in signing up for edX"></textarea>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="input-group">
|
||||
|
||||
Reference in New Issue
Block a user