<commit_before><% content_for :body do %>
  <%= render partial: 'disclaimer.govspeak.erb' %>

  ##Student finance

  You could get per year:

  - <%= format_money(tuition_fee_amount, pounds_only: true) %> [Tuition Fee Loan](/student-finance/parttime-students)

  <% if calculator.maintenance_loan_amount > 0 %>
    - <%= format_money(calculator.maintenance_loan_amount, pounds_only: true) %> [Maintenance Loan](/student-finance/parttime-students)
  <% end %>

  ###Extra student funding

  <% if all_uk_students_circumstances.include?('no') and course_studied == 'none-of-the-above' %>
    You don’t qualify for extra grants and allowances.
  <% else %>
    You could get:

    <% if all_uk_students_circumstances.include?('has-disability') %>
      - [Disabled Students' Allowances](/disabled-students-allowances-dsas)
    <% end %>

    <% if all_uk_students_circumstances.include?('low-income') %>
      - [University and college hardship funds](/extra-money-pay-university/university-and-college-hardship-funds) (extra help with costs while studying)
    <% end %>

    <% if course_studied == 'teacher-training' %>
      - [Funding for teacher training](/teacher-training-funding)
    <% elsif course_studied == 'social-work' %>
      - [Social Work Bursary](/social-work-bursaries) (NHS funding towards your fees and living costs)
    <% end %>

  <% end %>

  <%= render partial: 'uk_extra_help.govspeak.erb' %>

  <%= render partial: 'next_steps.govspeak.erb' %>

<% end %><commit_msg>Only display "You could get:" in the correct scenarios<commit_after><% content_for :body do %>
  <%= render partial: 'disclaimer.govspeak.erb' %>

  ##Student finance

  You could get per year:

  - <%= format_money(tuition_fee_amount, pounds_only: true) %> [Tuition Fee Loan](/student-finance/parttime-students)

  <% if calculator.maintenance_loan_amount > 0 %>
    - <%= format_money(calculator.maintenance_loan_amount, pounds_only: true) %> [Maintenance Loan](/student-finance/parttime-students)
  <% end %>

  ###Extra student funding

  <% if all_uk_students_circumstances.include?('no') and course_studied != 'teacher-training' and course_studied != 'social-work' %>
    You don’t qualify for extra grants and allowances.
  <% else %>
    You could get:

    <% if all_uk_students_circumstances.include?('has-disability') %>
      - [Disabled Students' Allowances](/disabled-students-allowances-dsas)
    <% end %>

    <% if all_uk_students_circumstances.include?('low-income') %>
      - [University and college hardship funds](/extra-money-pay-university/university-and-college-hardship-funds) (extra help with costs while studying)
    <% end %>

    <% if course_studied == 'teacher-training' %>
      - [Funding for teacher training](/teacher-training-funding)
    <% elsif course_studied == 'social-work' %>
      - [Social Work Bursary](/social-work-bursaries) (NHS funding towards your fees and living costs)
    <% end %>

  <% end %>

  <%= render partial: 'uk_extra_help.govspeak.erb' %>

  <%= render partial: 'next_steps.govspeak.erb' %>

<% end %>
{'fraction_non_alphanumeric': 0.14500326583932072, 'fraction_numerical': 0.0006531678641410843, 'mean_word_length': 4.037828947368421, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2658977', 'n_tokens_mistral': 1107, 'n_tokens_neox': 966, 'n_words': 209}