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. 7
      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;
}
}

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

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

Loading…
Cancel
Save