zeus.ugent.be/layouts/partials/_tile.erb
Felix Van der Jeugt af3e893821 prettier index
2016-08-30 22:07:46 +02:00

19 lines
486 B
Text

<a href="<%= relative_path_to(@article) %>" class="tile is-child box <%= @htmlclass %>">
<div class="main-tile">
<div class="content">
<div class="columns">
<div class="column">
<h1>
<%= @article[:title] %>
</h1>
</div>
<div class="column is-narrow">
<small>
<%= @article[:created_at] %>
</small>
</div>
</div>
<%= @article[:description] %>
</div>
</div>
</a>