zeus.ugent.be/layouts/partials/_tile.erb
2016-08-27 20:15:00 +02:00

19 lines
442 B
Text

<a href="<%= relative_path_to(@article) %>">
<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>