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
90460011
Commit
90460011
authored
Jan 13, 2015
by
AlasdairSwan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECOM-412 Set buttons types so enter now triggers register button
parent
2b9b531c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
lms/templates/student_account/login.underscore
+2
-2
lms/templates/student_account/password_reset.underscore
+1
-1
lms/templates/student_account/register.underscore
+2
-2
No files found.
lms/templates/student_account/login.underscore
View file @
90460011
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<%= context.fields %>
<%= context.fields %>
<button class="action action-primary action-update js-login login-button"><%- gettext("Sign in") %></button>
<button
type="submit"
class="action action-primary action-update js-login login-button"><%- gettext("Sign in") %></button>
<div class="login-providers">
<div class="login-providers">
<div class="section-title lines">
<div class="section-title lines">
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<% _.each( context.providers, function( provider ) {
<% _.each( context.providers, function( provider ) {
if ( provider.loginUrl ) { %>
if ( provider.loginUrl ) { %>
<button type="
submit
" class="button button-primary button-<%- provider.name %> login-provider login-<%- provider.name %>" data-provider-url="<%- provider.loginUrl %>">
<button type="
button
" class="button button-primary button-<%- provider.name %> login-provider login-<%- provider.name %>" data-provider-url="<%- provider.loginUrl %>">
<div class="icon <%- provider.iconClass %>" aria-hidden="true"></div>
<div class="icon <%- provider.iconClass %>" aria-hidden="true"></div>
<%- provider.name %>
<%- provider.name %>
</button>
</button>
...
...
lms/templates/student_account/password_reset.underscore
View file @
90460011
...
@@ -15,5 +15,5 @@
...
@@ -15,5 +15,5 @@
<%= fields %>
<%= fields %>
<button class="action action-primary action-update js-reset"><%- gettext("Reset my password") %></button>
<button
type="submit"
class="action action-primary action-update js-reset"><%- gettext("Reset my password") %></button>
</form>
</form>
lms/templates/student_account/register.underscore
View file @
90460011
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<%
<%
_.each( context.providers, function( provider) {
_.each( context.providers, function( provider) {
if ( provider.registerUrl ) { %>
if ( provider.registerUrl ) { %>
<button type="
submit
" class="button button-primary button-<%- provider.name %> login-provider register-<%- provider.name %>" data-provider-url="<%- provider.registerUrl %>">
<button type="
button
" class="button button-primary button-<%- provider.name %> login-provider register-<%- provider.name %>" data-provider-url="<%- provider.registerUrl %>">
<span class="icon <%- provider.iconClass %>" aria-hidden="true"></span>
<span class="icon <%- provider.iconClass %>" aria-hidden="true"></span>
<%- provider.name %>
<%- provider.name %>
</button>
</button>
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<%= context.fields %>
<%= context.fields %>
<button class="action action-primary action-update js-register register-button"><%- gettext("Create your account") %></button>
<button
type="submit"
class="action action-primary action-update js-register register-button"><%- gettext("Create your account") %></button>
<p class="note">* <%- gettext("Required field") %></p>
<p class="note">* <%- gettext("Required field") %></p>
</form>
</form>
...
...
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