Don't hide all text if there is no locationlink

This commit is contained in:
Niko Strijbol 2020-03-24 18:46:24 +01:00
parent 5cb8f60cc5
commit 39888c6ac4
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251

View file

@ -73,20 +73,19 @@
</div>
</section>
<!-- LOCATION -->
<% if item[:locationlink] %>
<section class="section">
<div class="columns">
<div class="column is-8 is-offset-2">
<div class="content has-text-justified is-medium-responsive">
<%= yield %>
</div>
<%= render '/partials/_map.erb', location: item[:locationlink] %>
<!-- LOCATION -->
<% if item[:locationlink] %>
<%= render '/partials/_map.erb', location: item[:locationlink] %>
<% end %>
</div>
</div>
</section>
<% end %>
<!-- SPONSORED BY -->
<% if item[:sponsors] %>