<% define_content :link do %>
  <%= registration_confirmation_url(asset.confirmation_code) %>
<% end %>

<% define_content :subject do %>
  <%= t :subject, "Confirm Email: Canvas" %>
<% end %>

<%= t :body,
      "The email address, %{email} is being registered at %{website} for the user, %{user}.",
      :email => asset.path,
      :website => data.from_host || HostUrl.default_host,
      :user => asset.user.name %>

<%= t :details, "To confirm this registration, please visit the following url:" %>
<%= content :link %>
