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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
23fd1f16
Commit
23fd1f16
authored
Oct 10, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Ruby 1.9 syntax in tab_single def and usage.
parent
f141cdb3
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
7 additions
and
8 deletions
+7
-8
app/views/admin/appearances/preview.html.haml
app/views/admin/appearances/preview.html.haml
+1
-1
app/views/devise/confirmations/new.html.haml
app/views/devise/confirmations/new.html.haml
+1
-1
app/views/devise/passwords/edit.html.haml
app/views/devise/passwords/edit.html.haml
+1
-1
app/views/devise/passwords/new.html.haml
app/views/devise/passwords/new.html.haml
+1
-1
app/views/devise/sessions/two_factor.html.haml
app/views/devise/sessions/two_factor.html.haml
+1
-1
app/views/devise/shared/_tab_single.html.haml
app/views/devise/shared/_tab_single.html.haml
+1
-2
app/views/devise/unlocks/new.html.haml
app/views/devise/unlocks/new.html.haml
+1
-1
No files found.
app/views/admin/appearances/preview.html.haml
View file @
23fd1f16
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Sign in preview'
}
=
render
'devise/shared/tab_single'
,
tab_title:
'Sign in preview'
.login-box
%form
.show-gl-field-errors
.form-group
...
...
app/views/devise/confirmations/new.html.haml
View file @
23fd1f16
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Resend confirmation instructions'
}
=
render
'devise/shared/tab_single'
,
tab_title:
'Resend confirmation instructions'
.login-box
.login-body
=
form_for
(
resource
,
as:
resource_name
,
url:
confirmation_path
(
resource_name
),
html:
{
method: :post
,
class:
'show-gl-field-errors'
})
do
|
f
|
...
...
app/views/devise/passwords/edit.html.haml
View file @
23fd1f16
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Change your password'
}
=
render
'devise/shared/tab_single'
,
tab_title
:'Change your password'
.login-box
.login-body
=
form_for
(
resource
,
as:
resource_name
,
url:
password_path
(
resource_name
),
html:
{
method: :put
,
class:
'show-gl-field-errors'
})
do
|
f
|
...
...
app/views/devise/passwords/new.html.haml
View file @
23fd1f16
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Reset Password'
}
=
render
'devise/shared/tab_single'
,
tab_title:
'Reset Password'
.login-box
.login-body
=
form_for
(
resource
,
as:
resource_name
,
url:
password_path
(
resource_name
),
html:
{
method: :post
,
class:
'show-gl-field-errors'
})
do
|
f
|
...
...
app/views/devise/sessions/two_factor.html.haml
View file @
23fd1f16
...
...
@@ -3,7 +3,7 @@
=
page_specific_javascript_tag
(
'u2f.js'
)
%div
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Two-Factor Authentication'
}
=
render
'devise/shared/tab_single'
,
tab_title:
'Two-Factor Authentication'
.login-box
.login-body
-
if
@user
.
two_factor_otp_enabled?
...
...
app/views/devise/shared/_tab_single.html.haml
View file @
23fd1f16
// = render 'devise/shared/tab_single', :tab_title => 'Tab Title'
%ul
.nav-links.nav-tabs.new-session-tabs.single-tab
%li
.active
=
link_to
tab_title
,
'#'
,
disabled:
tru
e
%a
=
tab_titl
e
app/views/devise/unlocks/new.html.haml
View file @
23fd1f16
=
render
'devise/shared/tab_single'
,
{
:tab_title
=>
'Resend unlock instructions'
}
=
render
'devise/shared/tab_single'
,
tab_title:
'Resend unlock instructions'
.login-box
.login-body
=
form_for
(
resource
,
as:
resource_name
,
url:
unlock_path
(
resource_name
),
html:
{
method: :post
,
class:
'show-gl-field-errors'
})
do
|
f
|
...
...
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