13 lines
478 B
Text
13 lines
478 B
Text
<div class="link" onclick="window.location.href = '<%= item.path %>'">
|
|
<div class="link__img">
|
|
<img src="https://dsa.ugent.be/api/verenigingen/<%= abbreviation(item) %>/logo?size=small" alt="<%= item[:naam] %>">
|
|
</div>
|
|
<div class="link__content">
|
|
<h3 class="link__title">
|
|
<%= item[:titel] || item[:naam] %>
|
|
</h3>
|
|
<p class="link__text">
|
|
<%= text_segment(item.compiled_content) %>
|
|
</p>
|
|
</div>
|
|
</div>
|