Fix <a> tag in follow header

This commit is contained in:
Victoria Wang 2015-03-23 17:23:18 -07:00
parent 070a8f0a66
commit 5e283cf62d

View file

@ -1,7 +1,7 @@
<% site_followings = site.followings %>
<% if (!is_current_site && !site_followings.empty?) || is_current_site %>
<div class="following-list">
<h3><a href="/site/<%= site.username %>/follows"><%= is_current_site ? 'You follow' : 'This site follows' %></h3>
<h3><a href="/site/<%= site.username %>/follows"><%= is_current_site ? 'You follow' : 'This site follows' %></a></h3>
<% if site_followings.empty? %>
<p>You are not following any sites yet. Add some by <a href="/browse">browsing sites</a> or looking at your tags.
<% else %>