Browse Source

Added more microformats

tags/last-sinatra-version
Adrian Short 14 years ago
parent
commit
18c6a14a12
2 changed files with 11 additions and 7 deletions
  1. +1
    -1
      views/about.haml
  2. +10
    -6
      views/wards.haml

+ 1
- 1
views/about.haml View File

@@ -8,7 +8,7 @@
You can contact me by email at You can contact me by email at
%a.email{ :href => "mailto:adrian.short@gmail.com" } adrian.short@gmail.com %a.email{ :href => "mailto:adrian.short@gmail.com" } adrian.short@gmail.com
and and
%a{ :href => "http://twitter.com/adrianshort" } follow me on Twitter
%a.url{ :href => "http://twitter.com/adrianshort" } follow me on Twitter
\. \.
%p.highlight This site is independent of Sutton Council, all political parties and candidates. %p.highlight This site is independent of Sutton Council, all political parties and candidates.


+ 10
- 6
views/wards.haml View File

@@ -9,14 +9,17 @@
.clear .clear


.grid_6 .grid_6
%h1
= @ward.constituency.name
%h1.adr
%span.locality
= @ward.constituency.name
MP candidates MP candidates


.grid_6 .grid_6
%h1
= @ward.name
ward council candidates
%h1.adr
%span.locality
= @ward.name
ward
council candidates
.clear .clear
@@ -65,4 +68,5 @@
= candidate.surname = candidate.surname
%br %br
%span.candidate_party.org %span.candidate_party.org
= candidate.party.name
= candidate.party.name

Loading…
Cancel
Save