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
Mai Hoang Thai Ha
VenJob
Commits
3a2d621e
Commit
3a2d621e
authored
Sep 14, 2021
by
Mai Hoang Thai Ha
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix code style
parent
bcc62012
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 additions
and
7 deletions
+1
-7
app/controllers/users/registrations_controller.rb
+0
-0
app/views/applies/index.html.slim
+1
-1
app/views/shared/_favorite.html.slim
+0
-3
app/views/shared/_jobs_list_index.html.slim
+0
-0
app/views/shared/_unfavorite.html.slim
+0
-3
No files found.
app/controllers/users/registrations_controller.rb
View file @
3a2d621e
app/views/applies/index.html.slim
View file @
3a2d621e
-
provide
(
:title
,
'User Jobs'
)
-
provide
(
:title
,
'User
Apply
Jobs'
)
.container.py-5
h1
.text-center.my-job-label
My
Job
...
...
app/views/shared/_favorite.html.slim
View file @
3a2d621e
/ = form_with(model: @favorite_job, url: favorite_jobs_path(job_id: job_id, format: :js), id: "favorite-#{job_id}", remote: true) do |f|
/ = f.submit 'Favorite', class: 'btn btn-primary btn-height'
div
id
=
"favorite-#{job_id}"
=
link_to
favorite_jobs_path
(
job_id:
job_id
,
format: :js
),
method: :post
,
...
...
app/views/shared/_jobs_list_index.html.slim
View file @
3a2d621e
app/views/shared/_unfavorite.html.slim
View file @
3a2d621e
/ = form_with(model: @favorite_job, url: favorite_job_path(current_user, job_id: job_id, format: :js), id: "unfavorite-#{job_id}", method: :delete, remote: true) do |f|
/ = f.submit 'Un favorite', class: 'btn btn-secondary btn-height'
div
id
=
"unfavorite-#{job_id}"
=
link_to
favorite_job_path
(
current_user
,
job_id:
job_id
,
format: :js
),
method: :delete
,
...
...
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