From 13b10cc9a3febfbbac3fe1faf2bc37d0ceea7ce2 Mon Sep 17 00:00:00 2001 From: CactusPuppy Date: Sun, 7 Mar 2021 23:02:49 -0800 Subject: [PATCH] Include help data for event types in new proposal view (Why doesn't the new view use the proposal form partial?) --- app/views/proposals/new.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/proposals/new.html.haml b/app/views/proposals/new.html.haml index 5c581e5b..ac2d72ae 100644 --- a/app/views/proposals/new.html.haml +++ b/app/views/proposals/new.html.haml @@ -33,7 +33,7 @@ = f.input :title, as: :string, required: true, input_html: { required: true } = f.input :event_type_id, as: :select, collection: @program.event_types.map {|type| ["#{type.title} - #{show_time(type.length)}", type.id, - data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length }]}, + data: { min_words: type.minimum_abstract_length, max_words: type.maximum_abstract_length, help: type.description }]}, include_blank: false, label: 'Type', input_html: { class: 'select-help-toggle' } - if @program.languages.present?