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
a32f85ac
Commit
a32f85ac
authored
Mar 07, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3139 from rapofran/auto_focus_ldap_login
Autofocus to username input (LDAP login).
parents
0d66fa89
a40541c4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
app/views/devise/sessions/_new_ldap.html.haml
app/views/devise/sessions/_new_ldap.html.haml
+1
-1
No files found.
app/views/devise/sessions/_new_ldap.html.haml
View file @
a32f85ac
=
form_tag
(
user_omniauth_callback_path
(
:ldap
),
:class
=>
"login-box"
,
:id
=>
'new_ldap_user'
)
do
=
image_tag
"login-logo.png"
,
:width
=>
"304"
,
:height
=>
"66"
,
:class
=>
"login-logo"
,
:alt
=>
"Login Logo"
=
text_field_tag
:username
,
nil
,
{
:class
=>
"text top"
,
:placeholder
=>
"LDAP Login"
}
=
text_field_tag
:username
,
nil
,
{
:class
=>
"text top"
,
:placeholder
=>
"LDAP Login"
,
:autofocus
=>
"autofocus"
}
=
password_field_tag
:password
,
nil
,
{
:class
=>
"text bottom"
,
:placeholder
=>
"Password"
}
%br
/
=
submit_tag
"LDAP Sign in"
,
:class
=>
"btn-primary btn"
...
...
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