mirror of
				https://github.com/fspc/BikeShed-1.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	On second thought, don't want to default this one.
This commit is contained in:
		
							parent
							
								
									83bdaf5973
								
							
						
					
					
						commit
						dc60630d2d
					
				| @ -8,7 +8,7 @@ class Bikes < Netzke::Basepack::Grid | ||||
|     c.columns = [ | ||||
|       { :name => :shop_id, :text => 'Shop ID', :default_value => Bike.last.id.to_i + 1}, | ||||
|       :serial_number, | ||||
|       { :id => :bike_brand__brand, :name => :bike_brand__brand, :text => 'Brand', :default_value => BikeBrand.first.id }, | ||||
|       { :id => :bike_brand__brand, :name => :bike_brand__brand, :text => 'Brand'}, | ||||
|       { :name => :model, :text => 'Model', | ||||
|         :scope => lambda { |rel| | ||||
|                     if session[:selected_bike_brand_id] | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user