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