Explorar el Código

Minor layout changes

tags/last-sinatra-version
Adrian Short hace 14 años
padre
commit
4c95dcabfc
Se han modificado 2 ficheros con 5 adiciones y 2 borrados
  1. +4
    -1
      views/home.haml
  2. +1
    -1
      views/wards.haml

+ 4
- 1
views/home.haml Ver fichero

@@ -19,4 +19,7 @@
%form{ :method => 'get', :action => '/' } %form{ :method => 'get', :action => '/' }
%label{ :for => "postcode" } My postcode is %label{ :for => "postcode" } My postcode is
%input{ :type => 'text', :name => 'postcode', :value => 'SM1 1EA', :size => 8, :maxlength => 8 } %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 Ver fichero

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


.grid_6 .grid_6
- for candidate in @ward.councilcandidates - for candidate in @ward.councilcandidates


Cargando…
Cancelar
Guardar