<% provide(:title, @receiver ? "#{@sender.name} would like you to be their friend on JamKazam" : "You've been invited to JamKazam by #{@sender.name}!") %>
<% provide(:photo_url, @sender.resolved_photo_url) %>

<% if @receiver %>
<a style="color: #ffcc00;" href="<%= @signup_url %>">Click here</a> to accept.

<% content_for :note do %>
<% if @note %>
<%= @sender.name %> says: <%= @note %>
<% else %>
<%= @sender.name %> would like you to be their friend on JamKazam, so that you can play in private sessions together.
<% end %>
<% end %>

<% else %>
To signup, please go to the <a style="color: #ffcc00;" href="<%= @signup_url %>">create account</a> page.
<% content_for :note do %>
<% if @note %>
<%= @sender.name %> says: <%= @note %>
<% else %>
<%= @sender.name %> would like you to join JamKazam.
<% end %>
<% end %>
<% end %>