2016-11-01 21:49:36 +01:00
|
|
|
<div class="columns">
|
2016-11-06 10:12:34 +01:00
|
|
|
<article class="column is-8 is-offset-2">
|
|
|
|
<div class="heading">
|
|
|
|
<h1 class="title is-1 has-text-centered">
|
|
|
|
<%= item[:title] %>
|
|
|
|
</h1>
|
|
|
|
<% if item[:author] %>
|
|
|
|
<h2 class="subtitle is-3 has-text-centered">
|
|
|
|
<% if item[:lang] == :en %>
|
|
|
|
by
|
|
|
|
<% else %>
|
|
|
|
door
|
|
|
|
<% end %>
|
|
|
|
<%= item[:author] %>
|
|
|
|
</h2>
|
|
|
|
<% end %>
|
|
|
|
<p class="has-text-centered">
|
|
|
|
<small>Created at <%= item[:created_at] %></small>
|
|
|
|
</p>
|
|
|
|
<hr>
|
|
|
|
</div>
|
|
|
|
<div class="content is-medium">
|
|
|
|
<%= yield %>
|
|
|
|
</div>
|
|
|
|
</article>
|
2016-11-01 21:49:36 +01:00
|
|
|
</div>
|