diff --git a/layouts/eventpost.erb b/layouts/eventpost.erb index 182024c..9f604db 100644 --- a/layouts/eventpost.erb +++ b/layouts/eventpost.erb @@ -73,20 +73,19 @@ - -<% if item[:locationlink] %>
<%= yield %>
- <%= render '/partials/_map.erb', location: item[:locationlink] %> + + <% if item[:locationlink] %> + <%= render '/partials/_map.erb', location: item[:locationlink] %> + <% end %>
-<% end %> - <% if item[:sponsors] %>