From 77cbbc191997d9da3a465321fcb183687c53c00f Mon Sep 17 00:00:00 2001 From: jmks Date: Wed, 5 Oct 2016 12:49:59 -0400 Subject: [PATCH] Fix event type description display on proposals#new and proposals#edit --- app/views/proposals/_proposal_form.html.haml | 3 --- app/views/proposals/new.html.haml | 3 --- 2 files changed, 6 deletions(-) diff --git a/app/views/proposals/_proposal_form.html.haml b/app/views/proposals/_proposal_form.html.haml index 73ad0b06..ed8d3c02 100644 --- a/app/views/proposals/_proposal_form.html.haml +++ b/app/views/proposals/_proposal_form.html.haml @@ -23,9 +23,6 @@ %span{ class: 'help-block select-help-text event_event_type_id collapse', id: "#{event_type.id}-help" } = event_type.description - :javascript - $("##{@conference.program.event_types.first.id}-help").collapse('show'); - = f.input :difficulty_level, as: :select, collection: @conference.program.difficulty_levels, input_html: { class: 'select-help-toggle' }, include_blank: '(Please select)' if @conference.program.difficulty_levels.any? diff --git a/app/views/proposals/new.html.haml b/app/views/proposals/new.html.haml index 5281ec37..b279b0b8 100644 --- a/app/views/proposals/new.html.haml +++ b/app/views/proposals/new.html.haml @@ -40,9 +40,6 @@ %span{ class: 'help-block event_event_type_id collapse', id: "#{event_type.id}-help" } = event_type.description - :javascript - $("##{@program.event_types.first.id}-help").collapse('show'); - = f.input :abstract, required: true, input_html: { rows: 5, data: { provide: 'markdown-editable' } }, hint: markdown_hint(link_to('Tips to improve your presentations.', 'http://blog.hubspot.com/blog/tabid/6307/bid/5975/10-Rules-to-Instantly-Improve-Your-Presentations.aspx'))