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
Boxiang Sun
gitlab-ce
Commits
fc3c5773
Commit
fc3c5773
authored
Nov 21, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style resend confirmation instructions
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
7e4739fe
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
12 deletions
+8
-12
app/views/devise/confirmations/new.html.erb
app/views/devise/confirmations/new.html.erb
+0
-12
app/views/devise/confirmations/new.html.haml
app/views/devise/confirmations/new.html.haml
+8
-0
No files found.
app/views/devise/confirmations/new.html.erb
deleted
100644 → 0
View file @
7e4739fe
<h2>
Resend confirmation instructions
</h2>
<%=
form_for
(
resource
,
as:
resource_name
,
url:
confirmation_path
(
resource_name
),
html:
{
method: :post
})
do
|
f
|
%>
<%=
devise_error_messages!
%>
<div>
<%=
f
.
label
:email
%>
<br
/>
<%=
f
.
email_field
:email
%>
</div>
<div>
<%=
f
.
submit
"Resend confirmation instructions"
%>
</div>
<%
end
%>
<%=
render
partial:
"devise/shared/links"
%>
app/views/devise/confirmations/new.html.haml
0 → 100644
View file @
fc3c5773
.login-box
%h3
.page-title
Resend confirmation instructions
=
form_for
(
resource
,
as:
resource_name
,
url:
confirmation_path
(
resource_name
),
html:
{
method: :post
})
do
|
f
|
=
devise_error_messages!
=
f
.
email_field
:email
,
placeholder:
'Email'
%div
=
f
.
submit
"Resend confirmation instructions"
,
class:
'btn btn-success'
%hr
=
link_to
"Sign in"
,
new_session_path
(
resource_name
)
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