BathHacked/energy-sparks

View on GitHub
app/views/schools/advice/gas_long_term/_insights.html.erb

Summary

Maintainability
Test Coverage
<%= render 'insights_intro', school: @school %>
<%= render 'schools/advice/long_term/current_usage',
           school: @school,
           analysis_dates: @analysis_dates,
           annual_usage: @annual_usage,
           annual_usage_change_since_last_year: @annual_usage_change_since_last_year,
           dashboard_alerts: @dashboard_alerts,
           alert_class: AlertGasAnnualVersusBenchmark,
           fuel_type: :gas %>
<%= render 'schools/advice/long_term/comparison',
           school: @school,
           benchmarked_usage: @benchmarked_usage,
           analysis_dates: @analysis_dates,
           fuel_type: :gas %>