From ec9bfa02eeb650f974bce1a304a0293bf2a7320d Mon Sep 17 00:00:00 2001 From: Louis Knapp Date: Tue, 29 Sep 2015 19:52:54 -0500 Subject: [PATCH] lk | adds none option to client bike --- app/views/clients/_fields.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/clients/_fields.html.haml b/app/views/clients/_fields.html.haml index 6935a7d..33d1443 100644 --- a/app/views/clients/_fields.html.haml +++ b/app/views/clients/_fields.html.haml @@ -53,7 +53,7 @@ .form-group = f.label "Bike:", class: "col-sm-2 control-label" .col-sm-10 - = f.select :bike_id, options_for_select( Bike.available_for_freecyclery.collect{|b| [ b.name, b.id ]}, @client.bike_id ) + = f.select :bike_id, options_for_select( Bike.available_for_freecyclery.collect{|b| [ b.name, b.id ]}, @client.bike_id ), {include_blank: 'None'} .form-group = f.label "Agency:", class: "col-sm-2 control-label"