Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VeNJOB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nguyen Ngoc Nghia
VeNJOB
Commits
77947670
Commit
77947670
authored
Dec 04, 2019
by
Nguyen Ngoc Nghia
Committed by
nnnghia98
Dec 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit user infor page
parent
a025896c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
10 deletions
+20
-10
app/views/users/registrations/edit.html.erb
+20
-10
No files found.
app/views/users/registrations/edit.html.erb
View file @
77947670
...
...
@@ -3,33 +3,43 @@
<%=
form_for
(
resource
,
as:
resource_name
,
url:
registration_path
(
resource_name
),
html:
{
method: :put
})
do
|
f
|
%>
<%=
render
"users/shared/error_messages"
,
resource:
resource
%>
<div
class=
"f
ield
"
>
<div
class=
"f
orm-group
"
>
<%=
f
.
label
:email
%>
<br/>
<%=
f
.
email_field
:email
,
autofocus:
true
,
autocomplete:
"email"
%>
<%=
f
.
email_field
:email
,
autofocus:
true
,
autocomplete:
"email"
,
class:
"form-control"
%>
</div>
<%
if
devise_mapping
.
confirmable?
&&
resource
.
pending_reconfirmation?
%>
<div>
Currently waiting confirmation for:
<%=
resource
.
unconfirmed_email
%>
</div>
<%
end
%>
<div
class=
"field"
>
<div
class=
"form-group"
>
<%=
f
.
label
:first_name
%>
<%=
f
.
text_field
:first_name
,
class:
"form-control"
%>
</div>
<div
class=
"form-group"
>
<%=
f
.
label
:last_name
%>
<%=
f
.
text_field
:last_name
,
class:
"form-control"
%>
</div>
<div
class=
"form-group"
>
<%=
f
.
label
:password
%>
<i>
(leave blank if you don't want to change it)
</i><br/>
<%=
f
.
password_field
:password
,
autocomplete:
"new-password"
%>
<%=
f
.
password_field
:password
,
autocomplete:
"new-password"
,
class:
"form-control"
%>
<%
if
@minimum_password_length
%>
<br/>
<em>
<%=
@minimum_password_length
%>
characters minimum
</em>
<%
end
%>
</div>
<div
class=
"f
ield
"
>
<%=
f
.
label
:password_confirmation
%>
<br
/>
<%=
f
.
password_field
:password_confirmation
,
autocomplete:
"new-password"
%>
<div
class=
"f
orm-group
"
>
<%=
f
.
label
:password_confirmation
%>
<br/>
<%=
f
.
password_field
:password_confirmation
,
autocomplete:
"new-password"
,
class:
"form-control"
%>
</div>
<div
class=
"field"
>
<%=
f
.
label
:c
urrent_password
%>
<i>
(we need your current password to confirm your changes)
</i><br
/>
<
%=
f
.
password_field
:current_password
,
autocomplete:
"current-password"
%
>
</div>
<%=
f
.
label
:c
v_path
%>
<br
/>
<
input
type=
"file"
class=
"form-control-file"
id=
"cv_path"
>
</div>
<br>
<div
class=
"actions"
>
<%=
f
.
submit
"Update"
%>
...
...
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