mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-15 01:11:23 +00:00
ca75960bdd
Improved content spacing Colour tweaks
15 lines
456 B
Text
15 lines
456 B
Text
<% provide :main_class, 'no-body' %>
|
|
|
|
<div id="news" class="index">
|
|
<% @news.each_with_index do |item, i| %>
|
|
<%= render partial: 'preview', locals: { article: item, full: (true if i == 0) } %>
|
|
<% end %>
|
|
</div>
|
|
|
|
<div class="actions-bottom">
|
|
<%= link_to t('news.archive'), '/news/archive', class: 'button' %>
|
|
|
|
<% if cuser and cuser.admin? %>
|
|
<%= link_to t('helpers.submit.post.new'), new_article_path, class: "button" %>
|
|
<% end %>
|
|
</div>
|