Don't hide all text if there is no locationlink
This commit is contained in:
parent
5cb8f60cc5
commit
39888c6ac4
1 changed files with 4 additions and 5 deletions
|
@ -73,20 +73,19 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- LOCATION -->
|
|
||||||
<% if item[:locationlink] %>
|
|
||||||
<section class="section">
|
<section class="section">
|
||||||
<div class="columns">
|
<div class="columns">
|
||||||
<div class="column is-8 is-offset-2">
|
<div class="column is-8 is-offset-2">
|
||||||
<div class="content has-text-justified is-medium-responsive">
|
<div class="content has-text-justified is-medium-responsive">
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- LOCATION -->
|
||||||
|
<% if item[:locationlink] %>
|
||||||
<%= render '/partials/_map.erb', location: item[:locationlink] %>
|
<%= render '/partials/_map.erb', location: item[:locationlink] %>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<% end %>
|
|
||||||
|
|
||||||
|
|
||||||
<!-- SPONSORED BY -->
|
<!-- SPONSORED BY -->
|
||||||
<% if item[:sponsors] %>
|
<% if item[:sponsors] %>
|
||||||
|
|
Loading…
Reference in a new issue