0
0
Fork 0
mirror of https://github.com/ENSL/ensl.org.git synced 2025-01-27 19:50:56 +00:00
ensl.org/app/views/articles/_top.html.erb

18 lines
467 B
Text
Raw Normal View History

<div class="article-links">
<% if article.previous_article %>
<div class="previous">
<%= link_to article.previous_article do %>
<%= icon 'arrow-left' %>
<%= article.previous_article %>
<% end %>
</div>
<% end %>
<% if article.next_article %>
<div class="next">
<%= link_to article.next_article do %>
<%= article.next_article %>
<%= icon 'arrow-right' %>
<% end %>
</div>
<% end %>
</div>