mirror of
https://github.com/fspc/bike-database.git
synced 2025-04-04 10:03:22 -04:00
lk | adds some bottom padding to the nav links on bike edit form
This commit is contained in:
parent
c81fbffb1c
commit
9125814daf
@ -1,3 +1,7 @@
|
|||||||
// Place all the styles related to the Bikes controller here.
|
// Place all the styles related to the Bikes controller here.
|
||||||
// They will automatically be included in application.css.
|
// They will automatically be included in application.css.
|
||||||
// You can use Sass (SCSS) here: http://sass-lang.com/
|
// You can use Sass (SCSS) here: http://sass-lang.com/
|
||||||
|
|
||||||
|
.bottom-nav-links {
|
||||||
|
padding-bottom: 5rem;
|
||||||
|
}
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
.col-sm-3.col-sm-offset-3
|
.col-sm-3.col-sm-offset-3
|
||||||
=button_to "Mark as sold", {action: "mark_as_sold", id: @bike.id}, method: :patch, class: "btn btn-default"
|
=button_to "Mark as sold", {action: "mark_as_sold", id: @bike.id}, method: :patch, class: "btn btn-default"
|
||||||
= render 'edit_form'
|
= render 'edit_form'
|
||||||
|
.bottom-nav-links
|
||||||
- if @next_bike
|
- if @next_bike
|
||||||
= link_to 'Next Bike', edit_bike_path(@next_bike)
|
= link_to 'Next Bike', edit_bike_path(@next_bike)
|
||||||
- else
|
- else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user