Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
025a1cad
Commit
025a1cad
authored
May 16, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve ""Username or email" label on login form does not point to its corresponding input field"
parent
bcc5135b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/views/devise/passwords/edit.html.haml
app/views/devise/passwords/edit.html.haml
+2
-2
app/views/devise/sessions/_new_base.html.haml
app/views/devise/sessions/_new_base.html.haml
+1
-1
No files found.
app/views/devise/passwords/edit.html.haml
View file @
025a1cad
...
...
@@ -6,10 +6,10 @@
=
devise_error_messages!
=
f
.
hidden_field
:reset_password_token
.form-group
=
f
.
label
'New password'
,
for:
:password
=
f
.
label
'New password'
,
for:
"user_password"
=
f
.
password_field
:password
,
class:
"form-control top"
,
required:
true
,
title:
'This field is required'
.form-group
=
f
.
label
'Confirm new password'
,
for:
:password_confirmation
=
f
.
label
'Confirm new password'
,
for:
"user_password_confirmation"
=
f
.
password_field
:password_confirmation
,
class:
"form-control bottom"
,
title:
'This field is required'
,
required:
true
.clearfix
=
f
.
submit
"Change your password"
,
class:
"btn btn-primary"
...
...
app/views/devise/sessions/_new_base.html.haml
View file @
025a1cad
=
form_for
(
resource
,
as:
resource_name
,
url:
session_path
(
resource_name
),
html:
{
class:
'new_user gl-show-field-errors'
,
'aria-live'
=>
'assertive'
})
do
|
f
|
.form-group
=
f
.
label
"Username or email"
,
for:
:login
=
f
.
label
"Username or email"
,
for:
"user_login"
=
f
.
text_field
:login
,
class:
"form-control top"
,
autofocus:
"autofocus"
,
autocapitalize:
"off"
,
autocorrect:
"off"
,
required:
true
,
title:
"This field is required."
.form-group
=
f
.
label
:password
...
...
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