Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e88fee96
Commit
e88fee96
authored
Sep 09, 2013
by
Pavel Yushchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes requirement of some registration fields
parent
e3a4e663
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
6 deletions
+24
-6
lms/templates/signup_modal.html
+24
-6
No files found.
lms/templates/signup_modal.html
View file @
e88fee96
...
@@ -74,7 +74,7 @@ jQuery(function($){
...
@@ -74,7 +74,7 @@ jQuery(function($){
</span>
</span>
<span
class=
"field required select"
id=
"field-education-year"
>
<span
class=
"field required select"
id=
"field-education-year"
>
<label
for=
"education-year"
>
${_("Year when education was Completed")}
</label>
<label
for=
"education-year"
>
${_("Year when education was Completed")}
</label>
<select
id=
"education-year"
name=
"education_year"
>
<select
id=
"education-year"
name=
"education_year"
required
aria-required=
"true"
>
<option
value=
""
>
--
</option>
<option
value=
""
>
--
</option>
%for year in UserProfile.VALID_YEARS:
%for year in UserProfile.VALID_YEARS:
<option
value=
"${year}"
>
${year}
</option>
<option
value=
"${year}"
>
${year}
</option>
...
@@ -95,7 +95,7 @@ jQuery(function($){
...
@@ -95,7 +95,7 @@ jQuery(function($){
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"field required select"
id=
"field-work-type"
>
<span
class=
"field required select"
id=
"field-work-type"
>
<label
for=
"work-type"
>
${_("Type of educational institution")}
</label>
<label
for=
"work-type"
>
${_("Type of educational institution")}
</label>
<select
id=
"work-type"
name=
"work_type"
>
<select
id=
"work-type"
name=
"work_type"
required
aria-required=
"true"
>
<option
value=
""
>
--
</option>
<option
value=
""
>
--
</option>
%for code, wo_type in UserProfile.WORK_TYPE_CHOICES:
%for code, wo_type in UserProfile.WORK_TYPE_CHOICES:
<option
value=
"${code}"
>
${_(wo_type)}
</option>
<option
value=
"${code}"
>
${_(wo_type)}
</option>
...
@@ -141,7 +141,7 @@ jQuery(function($){
...
@@ -141,7 +141,7 @@ jQuery(function($){
</span>
</span>
<span
class=
"field required select"
id=
"field-work-occupation"
>
<span
class=
"field required select"
id=
"field-work-occupation"
>
<label
for=
"work-occupation"
>
${_("Occupation at educational institution")}
</label>
<label
for=
"work-occupation"
>
${_("Occupation at educational institution")}
</label>
<select
id=
"work-occupation"
name=
"work_occupation"
>
<select
id=
"work-occupation"
name=
"work_occupation"
required
aria-required=
"true"
>
<option
value=
""
>
--
</option>
<option
value=
""
>
--
</option>
%for code, wo_occ in UserProfile.WORK_OCCUPATION_CHOICES:
%for code, wo_occ in UserProfile.WORK_OCCUPATION_CHOICES:
<option
value=
"${code}"
>
${_(wo_occ)}
</option>
<option
value=
"${code}"
>
${_(wo_occ)}
</option>
...
@@ -167,7 +167,7 @@ jQuery(function($){
...
@@ -167,7 +167,7 @@ jQuery(function($){
</span>
</span>
<span
class=
"field select"
id=
"field-work-qualification-category"
>
<span
class=
"field select"
id=
"field-work-qualification-category"
>
<label
for=
"work-qualification-category"
>
${_("Qualification category")}
</label>
<label
for=
"work-qualification-category"
>
${_("Qualification category")}
</label>
<select
id=
"work-qualification-category"
name=
"work_qualification_category"
>
<select
id=
"work-qualification-category"
name=
"work_qualification_category"
required
aria-required=
"true"
>
<option
value=
""
>
--
</option>
<option
value=
""
>
--
</option>
%for code, wo_qua in UserProfile.WORK_QUALIFICATION_CATEGORY_CHOICES:
%for code, wo_qua in UserProfile.WORK_QUALIFICATION_CATEGORY_CHOICES:
<option
value=
"${code}"
>
${_(wo_qua)}
</option>
<option
value=
"${code}"
>
${_(wo_qua)}
</option>
...
@@ -176,13 +176,31 @@ jQuery(function($){
...
@@ -176,13 +176,31 @@ jQuery(function($){
</span>
</span>
<span
class=
"field text"
id=
"field-work-qualification-category-year"
>
<span
class=
"field text"
id=
"field-work-qualification-category-year"
>
<label
for=
"work-qualification-category-year"
>
${_('Qualification category year')}
</label>
<label
for=
"work-qualification-category-year"
>
${_('Qualification category year')}
</label>
<input
id=
"work-qualification-category-year"
type=
"text"
name=
"work_qualification_category_year"
value=
""
required
aria-required=
"true"
/>
<select
id=
"work-qualification-category-year"
name=
"work_qualification_category_year"
required
aria-required=
"true"
>
<option
value=
""
>
--
</option>
<option
value=
"2013"
>
2013
</option>
<option
value=
"2012"
>
2012
</option>
<option
value=
"2011"
>
2011
</option>
<option
value=
"2010"
>
2010
</option>
<option
value=
"2009"
>
2009
</option>
<option
value=
"2008"
>
2008
</option>
<option
value=
"2007"
>
2007
</option>
<option
value=
"2006"
>
2006
</option>
<option
value=
"2005"
>
2005
</option>
<option
value=
"2004"
>
2004
</option>
<option
value=
"2003"
>
2003
</option>
<option
value=
"2002"
>
2002
</option>
<option
value=
"2001"
>
2001
</option>
<option
value=
"2000"
>
2000
</option>
<option
value=
"0"
>
раннее 2000
</option>
<option
value=
"-1"
>
не присваивалась
</option>
</select>
</span>
</span>
</div>
</div>
<div
class=
"input-group"
>
<div
class=
"input-group"
>
<span
class=
"field required text"
id=
"field-contact-phone"
>
<span
class=
"field required text"
id=
"field-contact-phone"
>
<label
for=
"contact-phone"
>
${_('Contact phone')}
</label>
<label
for=
"contact-phone"
>
${_('Contact phone')}
</label>
<input
id=
"contact-phone"
type=
"text"
name=
"contact_phone"
value=
""
placeholder=
"${_('e.g.
909123
4567')}"
required
aria-required=
"true"
/>
<input
id=
"contact-phone"
type=
"text"
name=
"contact_phone"
value=
""
placeholder=
"${_('e.g.
(909) 123-
4567')}"
required
aria-required=
"true"
/>
</span>
</span>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment