app/views/pupils/analysis/gas_line.html.erb
<% content_for :page_title, strip_tags(t('pupils.analysis.gas_data_html')) %>
<div class="d-flex justify-content-between align-items-center">
<div>
<%= link_to t('common.labels.back'), pupils_school_analysis_path(@school, category: :gas), class: 'btn btn-rounded' %>
</div>
<div>
<h1><%= t('pupils.analysis.gas_data_html') %></h1>
</div>
<div></div>
</div>
<hr />
<h2><%= t('pupils.analysis.i_want_to') %></h2>
<div class="row">
<%= render 'chart_link', school: @school, energy: :gas, chart_config: {energy: 'Gas', presentation: 'Line'} do %>
<%= t('pupils.analysis.find_gas_use_7days') %>
<% end %>
<%= render 'usage_link', school: @school, energy: :gas, usage_config: {period: :daily} do %>
<%= t('pupils.analysis.compare_gas_on_2_days') %>
<% end %>
<% if @school.filterable_meters(:gas).count > 1 %>
<%= render 'usage_link', school: @school, energy: :gas, usage_config: {period: :daily, split_meters: true} do %>
<%= t('pupils.analysis.compare_gas_use_by_meters') %>
<% end %>
<% end %>
</div>