<commit_before><!DOCTYPE HTML>
<html>
  <head>
    <meta charset="UTF-8">
    <link href="/style.css" type="text/css" rel="stylesheet" media="all">
<!--[if IE 7]>
<link href="/ie7.css" type="text/css" rel="stylesheet" media="all">

<![endif]-->
<!--
/*
 * @license
 * MyFonts Webfont Build ID 981839, 2011-08-21T11:30:45-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Museo 700 by exljbris
 * URL: http://new.myfonts.com/fonts/exljbris/museo/700/
 * 
 * Webfont: Museo 300 by exljbris
 * URL: http://new.myfonts.com/fonts/exljbris/museo/300/
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: unlimited
 * Webfonts copyright: Copyright (c) 2008 by <NAME>/exljbris. All rights reserved.
 * 
 * © 2011 Bitstream Inc
*/

-->
    <link rel="stylesheet" type="text/css" href="/publicwhip.css">
    <link href="/publicwhip_print.css" type="text/css" rel="stylesheet" media="print">
    <link rel="icon" href="/" type="image/x-icon" />
    <link rel="shortcut icon" href="/" type="image/x-icon" />
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script type="text/javascript">
$(document).ready(function() {
    $('tr').mouseover(function() {
        $(this).addClass('over');})
        .mouseout(function() {
        $(this).removeClass('over');
    });
    $('tr:even').addClass('alt');
});
    </script>
    <script type="text/javascript" src="/publicwhip.js"></script>
    <title>
      <% unless yield(:title).empty? %>
        <%= yield :title %> — The Public Whip
      <% else %>
        The Public Whip — Counting votes on your behalf
      <% end %>
    </title>
    <script type="text/javascript">
function givefocus(field) {
    if (!document || !document.getElementById)
        return
    f = document.getElementById(field)
    if (f)
        f.focus()
}
function secondnav_goto() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r')
    window.location=el.options[el.selectedIndex].value
}
function secondnav_goto2() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r2')
    window.location=el.options[el.selectedIndex].value
}
function secondnav_goto3() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r3')
    window.location=el.options[el.selectedIndex].value
}
function ClickSup(nsup) {
    var el = document.getElementById('footnote-' + nsup);
    el.style.backgroundColor = (el.style.backgroundColor ? "" : "#ffff77");
    var sups = document.getElementsByTagName("sup");
    for (var i = 0; i < sups.length; i++)
        if (sups[i].className == "sup-" + nsup)
            sups[i].style.backgroundColor = el.style.backgroundColor;
}
    </script>
  </head>

  <body onLoad="<%= yield :on_load %>">
    <div id="whitebox">
      <script type="text/javascript" src="/walterzorn/wz_tooltip.js"></script>

      <div id="header" class="widewidth">
        <div class="logo">
          <a href="/"><img src="/images/logo.jpg" alt="the Public Whip" /></a>
        </div>

<!-- This is hidden behind the logo currently so comment it out
    <div class="search">
        <form class="searchtitlebarform" action="/search.php" name=pw>
            Search: <input maxLength=256 size=12 id="query_head" name="query" onblur="fadeout(this)" onfocus="fadein(this)" value="" /> <input type="submit" value="Go" name="button" />
        </form>
    </div>
 -->

        <!-- the main site navigation -->
        <div id="nav_main">
          <a title="Front page and site highlights" href="/index.php">Home</a>
          <a title="List of all votes in Parliament" href="/divisions.php">Divisions</a>
          <a title="List of all Representatives" href="/mps.php">Representatives</a>
          <a title="List of all Senators" href="/mps.php?house=senate">Senators</a>
          <a title="Help to analyze MP's votes" href="/policies.php">Policies</a>
          <!-- <a title="Help run the Public Whip project" href="/project/index.php">Join Us</a> -->
          <%= link_to "Help / FAQ", help_path, title: "Frequently asked questions" %>
          <% if user_signed_in? %>
            <div id="account-navbar">
              <a href="/account/settings.php" title="Change account settings">You are: <%= current_user.user_name || current_user.email %></a>
              <a href="/account/logout.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>" title="Make your browser forget that you are logged into The Public Whip as <%= current_user.user_name %>">Logout</a>
            </div>
          <% else %>
            <div id="account-navbar">
              <a title="Register to make or edit policies" href="/account/register.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>">Sign Up</a>
              <a title="Login to edit policies" href="/account/settings.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>">Login</a>
            </div>
          <% end %>
        </div>

      </div><!-- end header-->

      <% if flash["notice"] %>
        <div class="notice"><%= flash[:notice] %></div>
      <% end %>

      <div id="main" class="widewidth"><!-- main content -->
        <%= yield %>
      </div><!-- end main content -->
    </div><!-- end whitebox-->

    <div id="bluebox">
      <div class="widewidth">
        <div class="col1-2">
          <h3>About the Project</h3>

          <p>
            The Public Whip is brought to you by the not-for-profit
            <a href="http://www.openaustraliafoundation.org.au/">OpenAustralia Foundation</a>. It is based
            on the <a href="http://www.publicwhip.org.uk/">UK site</a> of the same name.
          </p>

          <p>
              If you'd like to talk to us about the project, please
              <a href="mailto:<EMAIL>">email us</a>.
          </p>
        </div>
        <div class="col3">
          <h3>The Whip on the Web</h3>
          <ul class="social">
            <li class="wp"><a href="https://www.openaustraliafoundation.org.au/blog/">OpenAustralia Foundation Blog</a></li>
            <li class="tw"><a href="http://twitter.com/openaustralia">Twitter</a></li>
            <!-- <li class="fb"><a href="http://www.facebook.com/pages/Public-Whip/199268083464697">Facebook</a></li> --><commit_msg>Display all flash messages, not just notices<commit_after><!DOCTYPE HTML>
<html>
  <head>
    <meta charset="UTF-8">
    <link href="/style.css" type="text/css" rel="stylesheet" media="all">
<!--[if IE 7]>
<link href="/ie7.css" type="text/css" rel="stylesheet" media="all">

<![endif]-->
<!--
/*
 * @license
 * MyFonts Webfont Build ID 981839, 2011-08-21T11:30:45-0400
 * 
 * The fonts listed in this notice are subject to the End User License
 * Agreement(s) entered into by the website owner. All other parties are 
 * explicitly restricted from using the Licensed Webfonts(s).
 * 
 * You may obtain a valid license at the URLs below.
 * 
 * Webfont: Museo 700 by exljbris
 * URL: http://new.myfonts.com/fonts/exljbris/museo/700/
 * 
 * Webfont: Museo 300 by exljbris
 * URL: http://new.myfonts.com/fonts/exljbris/museo/300/
 * 
 * 
 * License: http://www.myfonts.com/viewlicense?1056
 * Licensed pageviews: unlimited
 * Webfonts copyright: Copyright (c) 2008 by <NAME>/exljbris. All rights reserved.
 * 
 * © 2011 Bitstream Inc
*/

-->
    <link rel="stylesheet" type="text/css" href="/publicwhip.css">
    <link href="/publicwhip_print.css" type="text/css" rel="stylesheet" media="print">
    <link rel="icon" href="/" type="image/x-icon" />
    <link rel="shortcut icon" href="/" type="image/x-icon" />
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
    <script type="text/javascript">
$(document).ready(function() {
    $('tr').mouseover(function() {
        $(this).addClass('over');})
        .mouseout(function() {
        $(this).removeClass('over');
    });
    $('tr:even').addClass('alt');
});
    </script>
    <script type="text/javascript" src="/publicwhip.js"></script>
    <title>
      <% unless yield(:title).empty? %>
        <%= yield :title %> — The Public Whip
      <% else %>
        The Public Whip — Counting votes on your behalf
      <% end %>
    </title>
    <script type="text/javascript">
function givefocus(field) {
    if (!document || !document.getElementById)
        return
    f = document.getElementById(field)
    if (f)
        f.focus()
}
function secondnav_goto() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r')
    window.location=el.options[el.selectedIndex].value
}
function secondnav_goto2() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r2')
    window.location=el.options[el.selectedIndex].value
}
function secondnav_goto3() {
    if (!document) return
    if (!document.getElementById) return
    var el = document.getElementById('r3')
    window.location=el.options[el.selectedIndex].value
}
function ClickSup(nsup) {
    var el = document.getElementById('footnote-' + nsup);
    el.style.backgroundColor = (el.style.backgroundColor ? "" : "#ffff77");
    var sups = document.getElementsByTagName("sup");
    for (var i = 0; i < sups.length; i++)
        if (sups[i].className == "sup-" + nsup)
            sups[i].style.backgroundColor = el.style.backgroundColor;
}
    </script>
  </head>

  <body onLoad="<%= yield :on_load %>">
    <div id="whitebox">
      <script type="text/javascript" src="/walterzorn/wz_tooltip.js"></script>

      <div id="header" class="widewidth">
        <div class="logo">
          <a href="/"><img src="/images/logo.jpg" alt="the Public Whip" /></a>
        </div>

<!-- This is hidden behind the logo currently so comment it out
    <div class="search">
        <form class="searchtitlebarform" action="/search.php" name=pw>
            Search: <input maxLength=256 size=12 id="query_head" name="query" onblur="fadeout(this)" onfocus="fadein(this)" value="" /> <input type="submit" value="Go" name="button" />
        </form>
    </div>
 -->

        <!-- the main site navigation -->
        <div id="nav_main">
          <a title="Front page and site highlights" href="/index.php">Home</a>
          <a title="List of all votes in Parliament" href="/divisions.php">Divisions</a>
          <a title="List of all Representatives" href="/mps.php">Representatives</a>
          <a title="List of all Senators" href="/mps.php?house=senate">Senators</a>
          <a title="Help to analyze MP's votes" href="/policies.php">Policies</a>
          <!-- <a title="Help run the Public Whip project" href="/project/index.php">Join Us</a> -->
          <%= link_to "Help / FAQ", help_path, title: "Frequently asked questions" %>
          <% if user_signed_in? %>
            <div id="account-navbar">
              <a href="/account/settings.php" title="Change account settings">You are: <%= current_user.user_name || current_user.email %></a>
              <a href="/account/logout.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>" title="Make your browser forget that you are logged into The Public Whip as <%= current_user.user_name %>">Logout</a>
            </div>
          <% else %>
            <div id="account-navbar">
              <a title="Register to make or edit policies" href="/account/register.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>">Sign Up</a>
              <a title="Login to edit policies" href="/account/settings.php?r=<%= CGI.escape(params[:r] ? params[:r] : request.fullpath) %>">Login</a>
            </div>
          <% end %>
        </div>

      </div><!-- end header-->

      <% flash.each do |key, value| %>
        <div class="<%= key %>"><%= value %></div>
      <% end %>

      <div id="main" class="widewidth"><!-- main content -->
        <%= yield %>
      </div><!-- end main content -->
    </div><!-- end whitebox-->

    <div id="bluebox">
      <div class="widewidth">
        <div class="col1-2">
          <h3>About the Project</h3>

          <p>
            The Public Whip is brought to you by the not-for-profit
            <a href="http://www.openaustraliafoundation.org.au/">OpenAustralia Foundation</a>. It is based
            on the <a href="http://www.publicwhip.org.uk/">UK site</a> of the same name.
          </p>

          <p>
              If you'd like to talk to us about the project, please
              <a href="mailto:<EMAIL>">email us</a>.
          </p>
        </div>
        <div class="col3">
          <h3>The Whip on the Web</h3>
          <ul class="social">
            <li class="wp"><a href="https://www.openaustraliafoundation.org.au/blog/">OpenAustralia Foundation Blog</a></li>
            <li class="tw"><a href="http://twitter.com/openaustralia">Twitter</a></li>
            <!-- <li class="fb"><a href="http://www.facebook.com/pages/Public-Whip/199268083464697">Facebook</a></li> -->
{'fraction_non_alphanumeric': 0.17753297362110312, 'fraction_numerical': 0.013189448441247002, 'mean_word_length': 2.8303673938002296, 'pattern_counts': {'":': 0, '<': 270, '<?xml version=': 0, '>': 268, 'https://': 4, 'lorem ipsum': 0, 'www.': 10, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7644315', 'n_tokens_mistral': 4405, 'n_tokens_neox': 4137, 'n_words': 1011}