mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
815 B
27 lines
815 B
- btn = if @show_add_bike
|
|
- capture do
|
|
= link_to 'Add Another Bike?', new_bike_path, class: 'btn btn-default'
|
|
|
|
= top_menu link_to_dashboard, btn
|
|
|
|
%h2 #{@bike.shop_id}: #{@bike.bike_brand}
|
|
%h2 #{@bike.model}
|
|
|
|
%dl.dl-horizontal
|
|
%dt Type
|
|
%dd #{@bike.bike_style}
|
|
%dt Wheel Size
|
|
%dd #{@bike.bike_wheel_size.display_string}
|
|
%dt Condition
|
|
%dd #{@bike.bike_condition}
|
|
%dt Seat Tube (cm)
|
|
%dd #{@bike.seat_tube_height}
|
|
%dt Purpose
|
|
%dd #{@bike.bike_purpose}
|
|
- if !@bike.value.nil?
|
|
%dt Value
|
|
%dd #{@bike.value}
|
|
- if !@bike.color.nil?
|
|
%dt Color
|
|
%dd{ style: "width: 50px; background-color: ##{@bike.color}; border: black; border-width: 1px; border-style: solid;"} #{@bike.color}
|
|
%a{class: "btn btn-lg btn-block btn-primary", href: edit_task_list_path(@task_list_id) } View Checklist
|
|
|