Pārlūkot izejas kodu

Added explanation text to /wards

tags/last-sinatra-version
Adrian Short pirms 14 gadiem
vecāks
revīzija
cf9440e11b
1 mainītis faili ar 11 papildinājumiem un 1 dzēšanām
  1. +11
    -1
      views/wardlist.haml

+ 11
- 1
views/wardlist.haml Parādīt failu

@@ -1,6 +1,16 @@
.grid_9
.grid_6
%h1 Sutton Council Wards
%p The London Borough of Sutton is divided into 18 areas called wards. Each ward elects three councillors.
%p You can use this page to see the council candidates in each ward.
%p
If you don't know which ward you live in, go to the
%a{ :href => '/' }home page
and use your postcode to find out.

.grid_6
- for ward in @wards
%p.adr
%a{ :href => "/wards/#{ward.slug}" }


Notiek ielāde…
Atcelt
Saglabāt