From 13cc541f697ceb1cdaf67780a1a5f26e2a27ea37 Mon Sep 17 00:00:00 2001 From: Rishabh Singh Date: Sun, 25 Aug 2019 23:44:05 +0530 Subject: [PATCH] include_blank true for type --- app/views/booths/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/booths/_form.html.haml b/app/views/booths/_form.html.haml index af48212c..3176654d 100644 --- a/app/views/booths/_form.html.haml +++ b/app/views/booths/_form.html.haml @@ -13,7 +13,7 @@ = f.input :booth_type_id, as: :select, collection: conference.program.booth_types.map {|type| ["#{type.title}", type.id]}, - include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' } if conference.program.booth_types.any? + include_blank: 'Please select a type ...', label: 'Type', input_html: { class: 'select-help-toggle' } if conference.program.booth_types.any? - conference.program.booth_types.each do |booth_type| %span{ class: 'help-block select-help-text booth_booth_type_id collapse', id: "#{booth_type.id}-help" }