Browse Source

lk | switches position of date sold and price fields for bikes

master
Louis Knapp 9 years ago
parent
commit
1d1b417ba9
  1. 12
      app/views/bikes/_fields.html.haml

12
app/views/bikes/_fields.html.haml

@ -75,16 +75,16 @@
.col-sm-6 .col-sm-6
= f.text_area :work_done, class: "form-control", disabled: disabled = f.text_area :work_done, class: "form-control", disabled: disabled
.form-group
= f.label "Date Sold:", class: "col-sm-4 control-label"
.col-sm-6
= f.text_field :date_sold, class: "form-control datepicker", disabled: disabled
.form-group .form-group
= f.label "Price", class: "col-sm-4 control-label" = f.label "Price", class: "col-sm-4 control-label"
.col-sm-6 .col-sm-6
.input-group .input-group
%span.input-group-addon $ %span.input-group-addon $
= f.text_field :price, class: "form-control", disabled: disabled = f.text_field :price, class: "form-control", disabled: disabled
%a{href: "http://www.bicyclebluebook.com/SearchBikes.aspx"} Look It Up %a{href: "http://www.bicyclebluebook.com/SearchBikes.aspx"} Look It Up
.form-group
= f.label "Date Sold:", class: "col-sm-4 control-label"
.col-sm-6
= f.text_field :date_sold, class: "form-control datepicker", disabled: disabled

Loading…
Cancel
Save