#select_charts
  - @groups.each_pair do |group, charts|
    - if charts.any?
      %h1= t("chart_group.#{group.downcase}")
      - charts.each do |chart|
        %div.pick_chart{:data => { :chart_id => chart.id, :chart_holder => @chart_holder}}
          %a
            = image_tag "output_elements/#{chart.icon}", :size => "50x30"
            %h2= t("output_elements.#{chart.key}").html_safe


#select_charts
  - @groups.each_pair do |group, charts|
    - if charts.any?
      %h1= t("chart_group.#{group.downcase}")
      - charts.each do |chart|
        %div.pick_chart{'data-chart_id' => chart.id, 'data-chart_holder' => @chart_holder}
          %a
            = image_tag "output_elements/#{chart.icon}", :size => "50x30"
            %h2= t("output_elements.#{chart.key}").html_safe


Fix that chart picker wouldn't load a new chart
Fix that chart picker wouldn't load a new chart

Related to Rails 4 or Haml (apparently) not flattening "data" hashes out
into individual attributes.
