Browse Source

Louis | Add some styling to bike labels

master
Loos 10 years ago
parent
commit
c95a625c5e
  1. 10
      app/assets/stylesheets/print_select.css.scss
  2. 5
      app/views/bikes/print_labels.html.haml

10
app/assets/stylesheets/print_select.css.scss

@ -0,0 +1,10 @@
.print-select{
.print-label{
width: 400px;
padding: 10px;
margin: 10px;
display: inline-block;
border: 5px solid black;
}
}

5
app/views/bikes/print_labels.html.haml

@ -1,3 +1,6 @@
.print-select
- @bikes.each do |bike| - @bikes.each do |bike|
=bike.name .print-label
%h2=bike.price
%h2=bike.name
%br %br

Loading…
Cancel
Save