always render detail_title_themas div
This commit is contained in:
parent
00092656ba
commit
2acbf8a5e2
1 changed files with 9 additions and 11 deletions
|
@ -2,17 +2,15 @@
|
||||||
<div class="detail_title">
|
<div class="detail_title">
|
||||||
<a target="_blank" href="<%= item[:website] %>"><img src="<%= image_url(item, size="large") %>" alt="<%= item[:naam] %>" width=auto height=auto></a>
|
<a target="_blank" href="<%= item[:website] %>"><img src="<%= image_url(item, size="large") %>" alt="<%= item[:naam] %>" width=auto height=auto></a>
|
||||||
<h2><%= item[:naam] %></h2>
|
<h2><%= item[:naam] %></h2>
|
||||||
<% if item[:themas] %>
|
<div class="detail_title_themas">
|
||||||
<div class="detail_title_themas">
|
<% for thema in item.fetch(:themas, []) %>
|
||||||
<% for thema in item[:themas] %>
|
<div class="vereniging_thema">
|
||||||
<div class="vereniging_thema">
|
<a href="/themas/<%= thema %>.html">
|
||||||
<a href="/themas/<%= thema %>.html">
|
<%= @items["/assets/themas_icon/"+thema+".svg"].compiled_content %>
|
||||||
<%= @items["/assets/themas_icon/"+thema+".svg"].compiled_content %>
|
</a>
|
||||||
</a>
|
</div>
|
||||||
</div>
|
<% end %>
|
||||||
<% end %>
|
</div>
|
||||||
</div>
|
|
||||||
<% end %>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="details-contact">
|
<div class="details-contact">
|
||||||
<%if item[:deelname_link] || item[:contact] || item[:website]%>
|
<%if item[:deelname_link] || item[:contact] || item[:website]%>
|
||||||
|
|
Loading…
Reference in a new issue