ensl.org/app/views/articles/_top.html.erb
Luke Barratt 2549698a6d Improved form element styling
Improved article and comment styling
2014-04-09 21:44:04 +01:00

18 lines
No EOL
467 B
Text

<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>