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
iv
gitlab-ce
Commits
0dc5364a
Commit
0dc5364a
authored
Oct 28, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset pwd
parent
5d879a06
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
17 deletions
+10
-17
app/views/devise/passwords/new.html.erb
app/views/devise/passwords/new.html.erb
+8
-15
app/views/devise/sessions/new.html.erb
app/views/devise/sessions/new.html.erb
+2
-2
No files found.
app/views/devise/passwords/new.html.erb
View file @
0dc5364a
<h2>
Forgot your password?
</h2>
<%=
form_for
(
resource
,
:as
=>
resource_name
,
:url
=>
password_path
(
resource_name
),
:html
=>
{
:class
=>
"login-box"
,
:method
=>
:post
})
do
|
f
|
%>
<%=
image_tag
"login-logo.png"
,
:width
=>
"304"
,
:height
=>
"66"
,
:class
=>
"login-logo"
,
:alt
=>
"Login Logo"
%>
<div
class=
"span-12 colborder"
>
<%=
form_for
(
resource
,
:as
=>
resource_name
,
:url
=>
password_path
(
resource_name
),
:html
=>
{
:method
=>
:post
})
do
|
f
|
%>
<%=
devise_error_messages!
%>
<%=
devise_error_messages!
%>
<%=
f
.
email_field
:email
,
:placeholder
=>
"Email"
,
:class
=>
"text top"
%>
<div>
<%=
f
.
label
:email
%>
<br
/>
<br/>
<%=
f
.
email_field
:email
%>
</div>
<%=
f
.
submit
"Reset password"
,
:class
=>
"grey-button"
%>
<div
class=
"right"
>
<%=
render
:partial
=>
"devise/shared/links"
%>
</div>
<div>
<%=
f
.
submit
"Send me reset password instructions"
,
:class
=>
"lbutton vm"
%>
</div>
<%
end
%>
<%
end
%>
</div>
<div>
<%=
render
:partial
=>
"devise/shared/links"
%>
</div>
app/views/devise/sessions/new.html.erb
View file @
0dc5364a
<%=
form_for
(
resource
,
:as
=>
resource_name
,
:url
=>
session_path
(
resource_name
),
:html
=>
{
:class
=>
"login-box"
})
do
|
f
|
%>
<%=
form_for
(
resource
,
:as
=>
resource_name
,
:url
=>
session_path
(
resource_name
),
:html
=>
{
:class
=>
"login-box"
})
do
|
f
|
%>
<%=
image_tag
"login-logo.png"
,
:width
=>
"304"
,
:height
=>
"66"
,
:class
=>
"login-logo"
,
:alt
=>
"Login Logo"
%>
<%=
image_tag
"login-logo.png"
,
:width
=>
"304"
,
:height
=>
"66"
,
:class
=>
"login-logo"
,
:alt
=>
"Login Logo"
%>
<%=
f
.
text_field
:email
,
:class
=>
"text top"
%>
<%=
f
.
text_field
:email
,
:class
=>
"text top"
,
:placeholder
=>
"Email"
%>
<%=
f
.
password_field
:password
,
:class
=>
"text bottom"
%>
<%=
f
.
password_field
:password
,
:class
=>
"text bottom"
,
:placeholder
=>
"Password"
%>
<%
if
devise_mapping
.
rememberable?
-%>
<%
if
devise_mapping
.
rememberable?
-%>
<div>
<%=
f
.
check_box
:remember_me
%>
<%=
f
.
label
:remember_me
%>
</div>
<div>
<%=
f
.
check_box
:remember_me
%>
<%=
f
.
label
:remember_me
%>
</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