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
4c505547
Commit
4c505547
authored
Dec 12, 2019
by
nnnghia98
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete <br>
parent
0affded5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
27 additions
and
33 deletions
+27
-33
app/views/cities/index.html.erb
+19
-23
app/views/jobs/index.html.erb
+1
-3
app/views/users/mailer/reset_password_instructions.html.erb
+4
-4
app/views/users/my_pages/show.html.erb
+1
-1
app/views/users/registrations/edit.html.erb
+2
-2
No files found.
app/views/cities/index.html.erb
View file @
4c505547
<div
class=
"text-center"
>
<div
class=
"container jumbotron"
>
<h1>
City List
</h1>
<div
class=
"row"
>
<div
class=
"col-sm"
>
<a
href=
"#vietnam"
>
<div
class=
"tag"
>
Vietnam
</div>
</a>
</div>
<div
class=
"col-sm"
>
<a
href=
"#interational"
>
<div
class=
"tag"
>
International
</div>
</a>
</div>
<div
class=
"container jumbotron text-center"
>
<h1>
City List
</h1>
<div
class=
"row"
>
<div
class=
"col-sm"
>
<a
href=
"#vietnam"
>
<div
class=
"tag"
>
Vietnam
</div>
</a>
</div>
<div
class=
"col-sm"
>
<a
href=
"#interational"
>
<div
class=
"tag"
>
International
</div>
</a>
</div>
</div>
</div>
<br>
</div>
<div
class=
"container-fluid"
>
<div
class=
"tag text-center"
id=
"vietnam"
>
Vietnam
</div><br>
<div
class=
"container"
>
<div
class=
"row row-cols-5"
>
<%=
render
partial:
"cities/city"
,
collection:
@cities
%>
</div>
<div
class=
"tag text-center"
id=
"vietnam"
>
Vietnam
</div>
<div
class=
"row row-cols-5"
>
<%=
render
partial:
"cities/city"
,
collection:
@cities
%>
</div>
</div>
<%=
paginate
@cities
%>
</div><br>
<div
class=
"container-fluid"
>
<div
class=
"tag text-center"
id=
"interational"
>
International
</div>
<br>
</div>
<br>
<div
class=
"tag text-center"
id=
"interational"
>
International
</div>
</div>
app/views/jobs/index.html.erb
View file @
4c505547
<table
class=
"table"
>
<tbody>
<ul
class=
"table"
>
<%=
render
partial:
"jobs/job"
,
collection:
@jobs
%>
</ul>
<%=
render
partial:
"jobs/job"
,
collection:
@jobs
%>
</tbody>
</table>
...
...
app/views/users/mailer/reset_password_instructions.html.erb
View file @
4c505547
...
...
@@ -2,12 +2,12 @@
<p>
We received a request to reset the password associated with this e-mail address.
If you made this request, please follow the instructions below.
</p>
<br>
If you made this request, please follow the instructions below.
<br>
</p>
<p>
Click the link below to reset your password using our secure server:
</p>
<p>
<%=
link_to
"Change my password"
,
edit_password_url
(
@resource
,
reset_password_token:
@token
)
%>
</p>
<br>
<p>
<%=
link_to
"Change my password"
,
edit_password_url
(
@resource
,
reset_password_token:
@token
)
%>
<
br><
/p>
<p>
If you did not request to have your password reset you can safely ignore this email.
Rest assured your account is safe.
...
...
app/views/users/my_pages/show.html.erb
View file @
4c505547
...
...
@@ -4,7 +4,7 @@
<h3>
Email:
<%=
current_user
.
email
%>
</h3>
<h3>
Full name:
<%=
current_user
.
first_name
%>
<%=
current_user
.
last_name
%>
</h3>
<h3>
My CV:
<%=
current_user
.
cv_path
%>
</h3>
<br>
<%=
link_to
"Edit"
,
edit_user_registration_path
,
class:
"btn btn-lg btn-primary"
%>
<%=
link_to
"My jobs"
,
"#"
,
class:
"btn btn-lg btn-primary"
%>
</div>
app/views/users/registrations/edit.html.erb
View file @
4c505547
...
...
@@ -25,7 +25,7 @@
<div
class=
"field"
>
<%=
f
.
label
:cv_path
%>
<br/>
<input
type=
"file"
class=
"form-control-file"
id=
"cv_path"
>
</div>
<br>
</div>
<div
class=
"form-group"
>
<%=
f
.
label
:password
%>
<i>
(leave blank if you don't want to change it)
</i><br/>
...
...
@@ -50,7 +50,7 @@
<%=
f
.
submit
"Update"
,
class:
"btn btn-lg btn-primary"
%>
</div>
<%
end
%>
<br>
<%=
button_to
"Delete my account"
,
registration_path
(
resource_name
),
data:
{
confirm:
"Are you sure?"
},
class:
"btn btn-danger"
,
method: :delete
%>
<%=
link_to
"Back"
,
:back
%>
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