Sha256: 0d3628c2bc4df8ceabbf42657cb38f325a0ec11638058260f1e233efe15df615
Contents?: true
Size: 823 Bytes
Versions: 3
Compression:
Stored size: 823 Bytes
Contents
= content_for :head do = GMap.header = @page.map.to_html .contact_page_content = raw(block.body) #google_map = render "maps/map", :map => Map.new({:address => "719 Washington Avenue, Racine, WI 53403", :content => "<div>719 Washington Avenue<br /> Racine, WI 53403</div>", :width => 420, :height => 272 }) %p{:class => "driving-directions"} Enter your address below to get driving directions. = form_tag("http://maps.google.com/maps", :enctype => "application/x-www-form-urlencoded", :method => "get", :target =>"_blank") do = hidden_field_tag "daddr", "719 Washington Avenue, Racine, WI 53403" = hidden_field_tag "hl", "en" .short-form = text_field_tag 'saddr', nil, :name => "saddr", :class => "field short-form-field", :size => 20 = submit_tag "Go", :class => "short-form-button"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
dust-cms-0.0.07 | app/views/widgets/_map.html.haml |
dust-cms-0.0.06 | app/views/widgets/_map.html.haml |
dust-cms-0.0.05 | app/views/widgets/_map.html.haml |