- content_for :title, 'Policies'

%h1= yield :title
%p
  Policies are stated positions on a particular issue. For example
  "Process asylum seekers offshore", or "Legalise same sex marriage".
  Each policy has a definition and a way to vote in relevant
  divisions in Parliament.
%ul
  %li
    %a{:href => "account/addpolicy.php"} Make a new policy
%p
  This table summarises all policies, including how many times
  they have "voted". Click on their name to get a comparison of a
  policy to all MPs.
  %b
    You can get a policy to the top by editing
    and correcting motion text for its divisions.
%table.mps
  %tr.odd
    %td{:colspan => "4"}
      No policies match this person's votes. You can
      %a{:href => "/policies.php"} edit or make a policy
      that will appear
      here.
  %tr.headings
    %td
      Votes
      %i (unedited)
    %td Policy
= "That makes #{@policies.size} policies which have voted in at least one division."

- content_for :title, 'Policies'

%h1= yield :title
%p
  Policies are stated positions on a particular issue. For example
  "Process asylum seekers offshore", or "Legalise same sex marriage".
  Each policy has a definition and a way to vote in relevant
  divisions in Parliament.
%ul
  %li
    %a{:href => "account/addpolicy.php"} Make a new policy
%p
  This table summarises all policies, including how many times
  they have "voted". Click on their name to get a comparison of a
  policy to all MPs.
  %b
    You can get a policy to the top by editing
    and correcting motion text for its divisions.
%table.mps
  %tr.headings
    %td
      Votes
      %i (unedited)
    %td Policy
  %tr{:class => cycle('odd', 'even')}
    %td{:colspan => "4"}
      No policies match this person's votes. You can
      %a{:href => "/policies.php"} edit or make a policy that will appear here.
= "That makes #{@policies.size} policies which have voted in at least one division."

Tidy up and improve the HTML formatting
Tidy up and improve the HTML formatting
