Browse Source

Minor layout changes

tags/last-sinatra-version
Adrian Short 14 years ago
parent
commit
4c95dcabfc
2 changed files with 5 additions and 2 deletions
  1. +4
    -1
      views/home.haml
  2. +1
    -1
      views/wards.haml

+ 4
- 1
views/home.haml View File

@@ -19,4 +19,7 @@
%form{ :method => 'get', :action => '/' }
%label{ :for => "postcode" } My postcode is
%input{ :type => 'text', :name => 'postcode', :value => 'SM1 1EA', :size => 8, :maxlength => 8 }
%input{ :type => 'submit', :value => "Find it" }
%input{ :type => 'submit', :value => "Find it" }
.grid_3
<iframe src="http://www.thestraightchoice.org/api/call.php?method=constituency&output=html&constituency=sutton_and_cheam&count=2" style="border:none; overflow:hidden;height: 800px;"></iframe>

+ 1
- 1
views/wards.haml View File

@@ -51,7 +51,7 @@
= candidate.surname
%br
%span.candidate_party.org
= candidate.party.name
= candidate.party.name

.grid_6
- for candidate in @ward.councilcandidates


Loading…
Cancel
Save