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
6b518e09
Commit
6b518e09
authored
Jul 23, 2012
by
Bridger Maxwell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for appending course enroll to login/register form, now that the form is being cloned.
parent
71bbc020
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
lms/templates/login_modal.html
+1
-1
lms/templates/portal/course_about.html
+4
-4
lms/templates/signup_modal.html
+1
-1
No files found.
lms/templates/login_modal.html
View file @
6b518e09
...
...
@@ -8,7 +8,7 @@
<hr>
</header>
<form
id=
"login_form"
method=
"post"
data-remote=
"true"
action=
"/login"
>
<form
id=
"login_form"
class=
"login_form"
method=
"post"
data-remote=
"true"
action=
"/login"
>
<label>
E-mail
</label>
<input
name=
"email"
type=
"email"
placeholder=
"E-mail"
>
<label>
Password
</label>
...
...
lms/templates/portal/course_about.html
View file @
6b518e09
...
...
@@ -30,11 +30,11 @@
<script
type=
"text/javascript"
>
(
function
()
{
$
(
".register"
).
click
(
function
()
{
if
(
$
(
"
#
login_form .enroll_fieldset"
).
length
===
0
)
{
$
(
"
#
login_form"
).
append
(
$
(
".enroll_fieldset"
).
first
().
clone
()
);
if
(
$
(
"
.
login_form .enroll_fieldset"
).
length
===
0
)
{
$
(
"
.
login_form"
).
append
(
$
(
".enroll_fieldset"
).
first
().
clone
()
);
}
if
(
$
(
"
#
register_form .enroll_fieldset"
).
length
===
0
)
{
$
(
"
#
register_form"
).
append
(
$
(
".enroll_fieldset"
).
first
().
clone
()
);
if
(
$
(
"
.
register_form .enroll_fieldset"
).
length
===
0
)
{
$
(
"
.
register_form"
).
append
(
$
(
".enroll_fieldset"
).
first
().
clone
()
);
}
});
})(
this
)
...
...
lms/templates/signup_modal.html
View file @
6b518e09
...
...
@@ -13,7 +13,7 @@
<hr>
</header>
<form
id=
"register_form"
method=
"post"
data-remote=
"true"
action=
"/create_account"
>
<form
id=
"register_form"
class=
"register_form"
method=
"post"
data-remote=
"true"
action=
"/create_account"
>
<div
class=
"notice"
></div>
<div
id=
"register_error"
class=
"modal-form-error"
name=
"register_error"
></div>
<div
id=
"register_error"
name=
"register_error"
></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