fix spaces and use link_to instead of <a> tags

This commit is contained in:
Alexander Shapkin 2013-02-20 12:08:22 +04:00
parent d81cd6eb80
commit 105ae2a174

View File

@ -6,7 +6,7 @@
<td style="vertical-align:top; padding:0 20px 20px 0;">
<h2>Popular topics</h2>
<% @popular.each do |t| %>
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
<%= link_to t.title, t.relative_url %><br/>
<% end %>
<br/>
<a href="/popular" class="btn">See More&hellip;</a>
@ -14,7 +14,7 @@
<td style="vertical-align:top; padding:0 0 20px 0;">
<h2>Recent topics</h2>
<% @recent.each do |t| %>
<a href='<%= t.relative_url %>'><%= t.title %></a><br/>
<%= link_to t.title, t.relative_url %><br/>
<% end %>
<br/>
<a href="/popular" class="btn">See More&hellip;</a>