Use image_tag function in 'ontdek verenigingen' page
This commit is contained in:
parent
cb285c2f1e
commit
4945b78af5
1 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
|||
<h1> Thema's </h1>
|
||||
<ul>
|
||||
<% for thema in themas %>
|
||||
<img src="<%= image_url(thema) %>" alt="<%= thema[:naam] %>">
|
||||
<%= image_tag thema %>
|
||||
<li> <%= link_to(thema[:naam], thema) %> </li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<h1> Konventen en projecten </h1>
|
||||
<ul>
|
||||
<% for item in konventen_and_projecten %>
|
||||
<img src="<%= image_url(item) %>" alt="<%= item[:naam] %>">
|
||||
<%= image_tag item %>
|
||||
<li> <%= link_to(item[:naam], item) %> </li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue