zeus.ugent.be/layouts/partials/_tile.erb
2017-02-07 23:30:11 +01:00

23 lines
582 B
Text

<a href="<%= relative_path_to(@article) %>" class="tile is-child box <%= @htmlclass %>"
style="background-image:url('<%=@article[:banner]%>');">
<div class="content" >
<div class="columns">
<div class="column">
<h2>
<%= @article[:title] %>
</h2>
</div>
<div class="column is-narrow">
<small>
<%= @small_text %>
</small>
</div>
</div>
<div class="description">
<%= @article[:description] %>
</div>
<div class="teaser">
<%= get_teaser(@article) %>
</div>
</div>
</a>