mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
2549698a6d
Improved article and comment styling
13 lines
366 B
Text
13 lines
366 B
Text
<div id="news">
|
|
<% @news.each do |item| %>
|
|
<%= render partial: "article", locals: { article: item } %>
|
|
<% 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>
|