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
1
Merge Requests
1
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
Tô Ngọc Ánh
VeNJob
Commits
6292354d
Commit
6292354d
authored
Aug 03, 2020
by
Tô Ngọc Ánh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change html a tag to link_to
parent
3a3b04a3
Pipeline
#768
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
app/views/home/index.html.erb
+2
-2
app/views/shared/_header.html.erb
+4
-4
No files found.
app/views/home/index.html.erb
View file @
6292354d
...
...
@@ -19,7 +19,7 @@
<div
class=
'row'
>
<%=
render
partial:
'locations/city'
,
collection:
@top_cities
,
as: :location
%>
</div>
<
a
href=
'
<%=
cities_path
%>
'
>
All Cities
</a
>
<
%=
link_to
'All Citites'
,
cities_path
%
>
</div>
<div
id=
'top-industries'
class=
'my-4 text-center'
>
<h1>
Top Industries
</h1>
...
...
@@ -27,5 +27,5 @@
<div
class=
'row'
>
<%=
render
partial:
'industries/industry'
,
collection:
@top_industries
,
as: :industry
%>
</div>
<
a
href=
'
<%=
industries_path
%>
'
>
All Industries
</a
>
<
%=
link_to
'All Industries'
,
industries_path
%
>
</div>
app/views/shared/_header.html.erb
View file @
6292354d
<nav
class=
'navbar navbar-expand-lg navbar-light sticky-top'
>
<
a
class=
'navbar-brand'
href=
'
<%=
root_path
%>
'
>
<
%=
link_to
root_path
,
class:
'navbar-brand'
do
%
>
<%=
image_tag
'venjob-logo.png'
,
alt:
'VeNJob'
,
size:
'120x50'
%>
<
/a
>
<
%
end
%
>
<button
class=
'navbar-toggler'
type=
'button'
data-toggle=
'collapse'
data-target=
'#navbarSupportedContent'
aria-controls=
'navbarSupportedContent'
aria-expanded=
'false'
aria-label=
'Toggle navigation'
>
<span
class=
'navbar-toggler-icon'
></span>
</button>
...
...
@@ -9,10 +9,10 @@
<div
class=
'collapse navbar-collapse'
id=
'navbarSupportedContent'
>
<ul
class=
'navbar-nav ml-auto'
>
<li
class=
'nav-item active'
>
<
a
class=
'nav-link text-white'
href=
'#'
>
Sign in
</a
>
<
%=
link_to
'Sign in'
,
'#'
,
class:
'nav-link text-white'
%
>
</li>
<li
class=
'nav-item'
>
<
a
class=
'nav-link text-white'
href=
'#'
>
Sign up
</a
>
<
%=
link_to
'Sign up'
,
'#'
,
class:
'nav-link text-white'
%
>
</li>
</ul>
</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