mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Bike show view styling
TBD add class for color block
This commit is contained in:
		
							parent
							
								
									c6a3ed9991
								
							
						
					
					
						commit
						64d4186b57
					
				| @ -1,12 +1,7 @@ | ||||
| %h2 #{@bike.shop_id}: #{@bike.bike_brand} - #{@bike.model} | ||||
| %h2 #{@bike.shop_id}: #{@bike.bike_brand} | ||||
| %h2 #{@bike.model} | ||||
| 
 | ||||
| %dl.dl-horizontal | ||||
|   %dt Shop ID | ||||
|   %dd #{@bike.shop_id} | ||||
|   %dt Brand | ||||
|   %dd #{@bike.bike_brand} | ||||
|   %dt Model | ||||
|   %dd #{@bike.model} | ||||
|   %dt Type | ||||
|   %dd #{@bike.bike_style} | ||||
|   %dt Wheel Size | ||||
| @ -21,4 +16,4 @@ | ||||
|   %dd #{@bike.value} | ||||
|   - if !@bike.color.nil? | ||||
|     %dt Color | ||||
|     %dd{ style: "background-color: ##{@bike.color}; border: black; border-width: 1px; border-style: solid;"} #{@bike.color} | ||||
|     %dd{ style: "width: 50px; background-color: ##{@bike.color}; border: black; border-width: 1px; border-style: solid;"} #{@bike.color} | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user