From 81b963ddc8bcb1b098c25fc3fbb9ed6548b6f039 Mon Sep 17 00:00:00 2001 From: Michael Ball Date: Wed, 24 Mar 2021 02:50:44 -0700 Subject: [PATCH] Delint some more --- app/helpers/events_helper.rb | 4 ++-- app/views/admin/conferences/show.html.haml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 5ec2bf58..548630c4 100644 --- a/app/helpers/events_helper.rb +++ b/app/helpers/events_helper.rb @@ -66,8 +66,8 @@ module EventsHelper "#{type.title} - #{show_time(type.length)}", type.id, data: { - min_words: type.minimum_abstract_length, - max_words: type.maximum_abstract_length, + min_words: type.minimum_abstract_length, + max_words: type.maximum_abstract_length, instructions: type.submission_instructions } ] diff --git a/app/views/admin/conferences/show.html.haml b/app/views/admin/conferences/show.html.haml index 24307099..8e6118fd 100644 --- a/app/views/admin/conferences/show.html.haml +++ b/app/views/admin/conferences/show.html.haml @@ -60,11 +60,9 @@ = render 'donut_chart', title: 'Event types', combined_data: @event_type_distribution .col-md-4 - -# = render 'donut_chart', title: 'Difficulty levels', combined_data: @difficulty_levels_distribution .col-md-4 - -# = render 'donut_chart', title: 'Tracks', combined_data: @tracks_distribution -# .tab-pane#distribution_withdrawn