<commit_before><% page_title "How government works" %>
<% page_class "inside_gov_how-gov-works" %>
<% meta_description "In the UK, the Prime Minister leads the government with the support of the Cabinet and ministers. You can find out who runs government and how government is run, as well as learning about the history of government." %>

<div id="how-government-works">
  <header class="block headings-block">
    <div class="inner-block floated-children">
      <%= render partial: 'shared/heading',
                locals: { big: true,
                          heading: "How government works" } %>
      <p class="intro-paragraph">In the UK, the Prime Minister leads the government with the support of the Cabinet and ministers. You can find out <a href="#who-runs-government">who runs government</a> and <a href="#how-government-is-run">how government is run</a>, as well as learning about the <a href="#history-uk-government">history of government</a>.</p>
    </div>
  </header>

  <div class="block">
    <div class="inner-block">
      <h2 class="coalition" id="who-runs-government">Who runs government</h2>
      <div class="halves-width-section prime-minister">
        <div class="one-half">
          <div class="inner-block">
            <% if @prime_minister.present? && @prime_minister.image_url(:s465).present? %>
              <%= image_tag @prime_minister.image_url(:s465), { alt: @prime_minister.name } %>
            <% else %>
              <%= image_tag 'how-gov-works/10_Downing_Street.jpg', alt: 'Number 10, Downing Street' %>
            <% end %>
          </div>
        </div>
        <div class="one-half">
          <div class="inner-block">
            <h3>The Prime Minister</h3>
            <p>The <a href="/government/ministers/prime-minister">Prime Minister</a> is head of the UK government. They are ultimately responsible for all policy and decisions. They:</p>
            <ul>
              <li>oversee the operation of the Civil Service and government agencies</li>
              <li>appoint members of the government</li>
              <li>are the principal government figure in the House of Commons</li>
            </ul>
            <% if @prime_minister.present? %>
              <p>The Prime Minister is <%= link_to @prime_minister.name, url_for(@prime_minister) %>.</p>
            <% end %>
            <p><a href="/government/organisations/prime-ministers-office-10-downing-street">Read more about the Prime Minister's Office, 10 Downing Street</a></p>
          </div>
        </div>
      </div>

        <div class="halves-width-section cabinet">
        <div class="one-half">
          <div class="inner-block">
            <%= image_tag 'how-gov-works/Cabinet_01.jpg', alt: 'The Cabinet' %>
          </div>
        </div>
        <div class="one-half">
          <div class="inner-block">
            <h3>The Cabinet</h3>
            <p>The Cabinet is made up of the senior members of government. Every week during Parliament, members of the Cabinet (Secretaries of State from all departments and some other ministers) meet to discuss the most important issues for the government.</p>
            <p><a href="/government/ministers">See who is in the Cabinet</a></p>
          </div>
        </div><commit_msg>Update the PM's job description<commit_after><% page_title "How government works" %>
<% page_class "inside_gov_how-gov-works" %>
<% meta_description "In the UK, the Prime Minister leads the government with the support of the Cabinet and ministers. You can find out who runs government and how government is run, as well as learning about the history of government." %>

<div id="how-government-works">
  <header class="block headings-block">
    <div class="inner-block floated-children">
      <%= render partial: 'shared/heading',
                locals: { big: true,
                          heading: "How government works" } %>
      <p class="intro-paragraph">In the UK, the Prime Minister leads the government with the support of the Cabinet and ministers. You can find out <a href="#who-runs-government">who runs government</a> and <a href="#how-government-is-run">how government is run</a>, as well as learning about the <a href="#history-uk-government">history of government</a>.</p>
    </div>
  </header>

  <div class="block">
    <div class="inner-block">
      <h2 class="coalition" id="who-runs-government">Who runs government</h2>
      <div class="halves-width-section prime-minister">
        <div class="one-half">
          <div class="inner-block">
            <% if @prime_minister.present? && @prime_minister.image_url(:s465).present? %>
              <%= image_tag @prime_minister.image_url(:s465), { alt: @prime_minister.name } %>
            <% else %>
              <%= image_tag 'how-gov-works/10_Downing_Street.jpg', alt: 'Number 10, Downing Street' %>
            <% end %>
          </div>
        </div>
        <div class="one-half">
          <div class="inner-block">
            <h3>The Prime Minister</h3>
            <p>The <a href="/government/ministers/prime-minister">Prime Minister</a> is the leader of Her Majesty’s Government. They are ultimately responsible for all policy and decisions. They:</p>
            <ul>
              <li>oversee the operation of the Civil Service and government agencies</li>
              <li>appoint members of the government</li>
              <li>are the principal government figure in the House of Commons</li>
            </ul>
            <% if @prime_minister.present? %>
              <p>The Prime Minister is <%= link_to @prime_minister.name, url_for(@prime_minister) %>.</p>
            <% end %>
            <p><a href="/government/organisations/prime-ministers-office-10-downing-street">Read more about the Prime Minister's Office, 10 Downing Street</a></p>
          </div>
        </div>
      </div>

        <div class="halves-width-section cabinet">
        <div class="one-half">
          <div class="inner-block">
            <%= image_tag 'how-gov-works/Cabinet_01.jpg', alt: 'The Cabinet' %>
          </div>
        </div>
        <div class="one-half">
          <div class="inner-block">
            <h3>The Cabinet</h3>
            <p>The Cabinet is made up of the senior members of government. Every week during Parliament, members of the Cabinet (Secretaries of State from all departments and some other ministers) meet to discuss the most important issues for the government.</p>
            <p><a href="/government/ministers">See who is in the Cabinet</a></p>
          </div>
        </div>
{'fraction_non_alphanumeric': 0.13103763522779216, 'fraction_numerical': 0.006704251104677739, 'mean_word_length': 2.579062159214831, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 157, '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': '360051', 'n_tokens_mistral': 1924, 'n_tokens_neox': 1803, 'n_words': 582}