1 <% content_for :heading do %>
2 <h1><%= t(@already_follows ? ".unfollow.heading" : ".follow.heading", :user => @friend.display_name) %></h1>
5 <%= link_to t(@already_follows ? ".unfollow.button" : ".follow.button"),
6 follow_path(:display_name => @friend.display_name, :referer => params[:referer]),
7 :method => (@already_follows ? :delete : :post),
8 :class => "btn btn-sm btn-primary" %>