Expires in: <%= @event.expires_at ? time_ago_in_words(@event.expires_at) : 'never' %>

Payload:

<%= Utils.pretty_jsonify @event.payload || {} %>

<% if @event.lat && @event.lng %> <% content_for :head do -%> <%= javascript_include_tag "https://maps.googleapis.com/maps/api/js?sensor=false" %> <%= javascript_include_tag "map_marker" %> <% end -%>

Lat: <%= @event.lat %>
Lng: <%= @event.lng %>

<% end %>
<%= link_to icon_tag('glyphicon-chevron-left') + ' Back'.html_safe, events_path, class: "btn btn-default" %>