zeus.ugent.be/layouts/partials/_tile.erb
2016-10-03 16:56:56 +02:00

17 lines
411 B
Text

<a href="<%= relative_path_to(@article) %>" class="tile is-child box <%= @htmlclass %>">
<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>
<%= @article[:description] %>
</div>
</a>