Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:nullspace/inviter

  • Loading branch information...
commit 90944de74e7508a2ed580a266826c595fddb85cb 2 parents 3e76034 + 242a9d4
nullspace authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 app/views/invite/show.html.erb
6 app/views/invite/show.html.erb
View
@@ -6,8 +6,12 @@
</div>
</td><td>
<div id="address" class="padding">
-<b>Event Location</b><br/>
+<a target='_new' href = 'http://maps.google.com/maps?f=d&hl=en&daddr=<%= @address.gsub(/ /,'+') %>'>
+<b>Event Location (Click for directions)</b>
+</a><br/>
+<a target='_new' href = 'http://maps.google.com/maps?f=d&hl=en&daddr=<%= @address.gsub(/ /,'+') %>'>
<%= address(@rsvp.event.location) %>
+</a>
</div>
<div id="map"></div>
<!-- TODO add back in... Click the Map to Get Directions -->
Please sign in to comment.
Something went wrong with that request. Please try again.