|
@ -1,16 +1,19 @@ |
|
|
- disabled ||= false |
|
|
- disabled ||= false |
|
|
.row |
|
|
|
|
|
.form-horizontal |
|
|
.form-horizontal |
|
|
|
|
|
.row |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
.form-group |
|
|
.form-group |
|
|
= f.label "Log Number", class: "col-sm-4 control-label" |
|
|
= f.label "Log Number", class: "col-sm-4 control-label" |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
|
|
|
- if @log_number |
|
|
|
|
|
= f.text_field :log_number, class: "form-control", disabled: disabled, value: @log_number |
|
|
|
|
|
- else |
|
|
= f.text_field :log_number, class: "form-control", disabled: disabled |
|
|
= f.text_field :log_number, class: "form-control", disabled: disabled |
|
|
|
|
|
|
|
|
.form-group |
|
|
.form-group |
|
|
= f.label "Brand:", class: "col-sm-4 control-label" |
|
|
= f.label "Brand:", class: "col-sm-4 control-label" |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
= f.text_field :brand, class: "form-control", disabled: disabled |
|
|
= f.text_field :brand, class: "col-sm-6 form-control", disabled: disabled |
|
|
|
|
|
|
|
|
.form-group |
|
|
.form-group |
|
|
= f.label "Model:", class: "col-sm-4 control-label" |
|
|
= f.label "Model:", class: "col-sm-4 control-label" |
|
@ -35,9 +38,9 @@ |
|
|
= f.text_field :mechanic, class: "form-control", disabled: disabled |
|
|
= f.text_field :mechanic, class: "form-control", disabled: disabled |
|
|
|
|
|
|
|
|
.form-group |
|
|
.form-group |
|
|
= f.label "Seat Tube Length:", class: "col-sm-4 control-label" |
|
|
= f.label "Seat Tube Length (cm):", class: "col-sm-4 control-label" |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
= f.text_field :seat_tube_size, class: "form-control", disabled: disabled |
|
|
= f.text_field :seat_tube_size, class: "form-control seat-tube-cm", disabled: disabled |
|
|
|
|
|
|
|
|
.form-group |
|
|
.form-group |
|
|
= f.label "Top Tube Length:", class: "col-sm-4 control-label" |
|
|
= f.label "Top Tube Length:", class: "col-sm-4 control-label" |
|
@ -54,6 +57,7 @@ |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
= f.text_field :entry_date, class: "form-control datepicker", disabled: disabled |
|
|
= f.text_field :entry_date, class: "form-control datepicker", disabled: disabled |
|
|
|
|
|
|
|
|
|
|
|
.row |
|
|
.col-sm-6 |
|
|
.col-sm-6 |
|
|
%br |
|
|
%br |
|
|
%br |
|
|
%br |
|
|