%form{ :method => 'get', :action => '/wards' } %label{ :for => "postcode" } Postcode %input{ :type => 'text', :name => 'postcode', :size => 8, :maxlength => 8 } %input{ :type => 'submit', :value => "Find" } -# - for ward in @wards %p= ward