| @@ -293,11 +293,11 @@ get '/bodies/:body/:districts_name/:district' do | |||||
| haml :district | haml :district | ||||
| end | end | ||||
| get '/how-the-council-election-works' do | |||||
| get '/guides/how-the-council-election-works' do | |||||
| haml :election | haml :election | ||||
| end | end | ||||
| get '/how-the-parliament-election-works' do | |||||
| get '/guides/how-the-parliament-election-works' do | |||||
| haml :parliament | haml :parliament | ||||
| end | end | ||||
| @@ -305,6 +305,10 @@ get '/error' do | |||||
| haml :error | haml :error | ||||
| end | end | ||||
| get '/guides' do | |||||
| haml :guides | |||||
| end | |||||
| get '/about' do | get '/about' do | ||||
| haml :about | haml :about | ||||
| end | end | ||||
| @@ -15,11 +15,3 @@ | |||||
| and | and | ||||
| %a{ :href => "http://www.ordnancesurvey.co.uk/business-and-government/products/code-point-open.html" } | %a{ :href => "http://www.ordnancesurvey.co.uk/business-and-government/products/code-point-open.html" } | ||||
| Ordnance Survey. | Ordnance Survey. | ||||
| %ul | |||||
| %li.pure-menu-item | |||||
| %a{ :href => '/how-the-parliament-election-works' } | |||||
| About parliamentary elections | |||||
| %li.pure-menu-item | |||||
| %a{ :href => '/how-the-council-election-works' } | |||||
| About council elections | |||||
| @@ -1,3 +1,6 @@ | |||||
| %nav | |||||
| %a{ :href => '/guides'} « Guides | |||||
| %h1= @page_title = "How council elections work" | %h1= @page_title = "How council elections work" | ||||
| %p | %p | ||||
| @@ -0,0 +1,9 @@ | |||||
| %h1= @page_title = "Guides" | |||||
| %ul | |||||
| %li | |||||
| %a{ :href => '/guides/how-the-parliament-election-works' } | |||||
| How parliamentary elections work | |||||
| %li | |||||
| %a{ :href => '/guides/how-the-council-election-works' } | |||||
| How council elections work | |||||
| @@ -20,9 +20,10 @@ | |||||
| %li.pure-menu-item | %li.pure-menu-item | ||||
| %a{ :href => "/bodies/#{body.slug}" } | %a{ :href => "/bodies/#{body.slug}" } | ||||
| = body.name | = body.name | ||||
| elections | |||||
| %li.pure-menu-item | %li.pure-menu-item | ||||
| %a{ :href => '/candidates' } Candidates | %a{ :href => '/candidates' } Candidates | ||||
| %li.pure-menu-item | |||||
| %a{ :href => '/guides' } Guides | |||||
| %li.pure-menu-item | %li.pure-menu-item | ||||
| %a{ :href => '/about' } About | %a{ :href => '/about' } About | ||||
| @@ -1,4 +1,7 @@ | |||||
| %h1= @page_title = "How parliament elections work" | |||||
| %nav | |||||
| %a{ :href => '/guides'} « Guides | |||||
| %h1= @page_title = "How parliamentary elections work" | |||||
| %p In parliament elections you can vote for your local member of parliament (MP) and help to decide who governs the UK. | %p In parliament elections you can vote for your local member of parliament (MP) and help to decide who governs the UK. | ||||