Pārlūkot izejas kodu

Removed grid. Polished copy.

tags/last-sinatra-version
Adrian Short pirms 13 gadiem
vecāks
revīzija
4db00ffd9c
2 mainītis faili ar 41 papildinājumiem un 38 dzēšanām
  1. +20
    -20
      views/election.haml
  2. +21
    -18
      views/parliament.haml

+ 20
- 20
views/election.haml Parādīt failu

@@ -1,20 +1,20 @@
.grid_9
%h1= @page_title = "How the council election works"
%p On 6 May 2010 you get to choose your local councillors and to help to decide who runs Sutton Council.
%p Sutton borough is divided into 18 areas called wards.
%p Each ward has three councillors. That makes 54 councillors for the whole borough.
%p You get three votes to choose three councillors for your ward from the list of candidates.
%p The three people with the most votes in each ward become the councillors for that ward.
%p If a political party gets 28 or more councillors they get to run Sutton Council and decide its policies and services.
%p If no party gets 28 councillors the parties have to agree among themselves who will run the council. This is called “no overall control”.
%p Elections for Sutton Council take place every four years.
= haml_partial('register-to-vote')
%h1= @page_title = "How council elections work"
%p
Every four years you get to choose your local councillors and help to decide who runs
= succeed "." do
%a{ :href => "/bodies/sutton-council" } Sutton Council
%p Sutton borough is divided into 18 areas called wards.
%p Each ward has three councillors. That makes 54 councillors for the whole borough.
%p You get three votes to choose three councillors for your ward from the list of candidates.
%p The three people with the most votes in each ward become the councillors for that ward.
%p If a political party gets 28 or more councillors they get to run Sutton Council and decide its policies and services.
%p If no party gets 28 councillors the parties have to agree among themselves who will run the council. This is called “no overall control”.
= haml :register, :layout => false

+ 21
- 18
views/parliament.haml Parādīt failu

@@ -1,21 +1,24 @@
.grid_9
%h1= @page_title = "How parliament elections work"

%h1= @page_title = "How the parliament election works"
%p On 6 May 2010 you can vote for your local member of parliament and help to decide who governs the UK.
%p The UK is divided into 650 areas called constituencies. Each constituency elects one MP.
%p The London Borough of Sutton has two constituencies: Sutton and Cheam, and Carshalton and Wallington.
%p You get one vote to help choose the MP for your area from a list of candidates.
%p The person with the most votes becomes the MP.
%p If a political party gets 326 or more out of 650 MPs they can form a government to run the country.
%p If no party gets 326 MPs the parties have to agree among themselves who will run the country. This is called a “hung parliament”.
%p In parliament elections you can vote for your local member of parliament (MP) and help to decide who governs the UK.

%p Elections for parliament must be held at least once every five years. The prime minister can choose to have an election earlier if they wish.
%p The UK is divided into 650 areas called constituencies. Each constituency elects one MP.

%p
There are two constituencies in Sutton borough:
= succeed ", and " do
%a{ :href => "/bodies/uk-parliament/constituencies/sutton-and-cheam" } Sutton and Cheam
= succeed "." do
%a{ :href => "/bodies/uk-parliament/constituencies/carshalton-and-wallington" } Carshalton and Wallington
= haml_partial('register-to-vote')
%p You get one vote to help choose the MP for your area from a list of candidates.

%p The person with the most votes becomes the MP.

%p If a political party gets 326 or more out of 650 MPs they can form a government to run the country.

%p If no party gets 326 MPs the parties have to agree among themselves who will run the country. This is called a “hung parliament”.

%p Elections for parliament must be held at least once every five years. The prime minister can choose to have an election earlier if they wish.

= haml :register, :layout => false

Notiek ielāde…
Atcelt
Saglabāt