diff --git a/layouts/detail.erb b/layouts/detail.erb index 668ea9a..72b6fe1 100644 --- a/layouts/detail.erb +++ b/layouts/detail.erb @@ -2,17 +2,15 @@
" alt="<%= item[:naam] %>" width=auto height=auto>

<%= item[:naam] %>

- <% if item[:themas] %> -
- <% for thema in item[:themas] %> - - <% end %> -
- <% end %> +
+ <% for thema in item.fetch(:themas, []) %> + + <% end %> +
<%if item[:deelname_link] || item[:contact] || item[:website]%>