# original code found at
# https://github.com/forem/forem/blob/5e93d3a25ecc800703aa100d286c8c75c9173ddf/app/views/users/edit.html.erb#L77

<% if @user.unconfirmed_email.present? %>
  <div class="crayons-notice crayons-notice--warning mb-6" role="alert">
    <h3 class="mb-2"><%= t("views.settings.email") %></h3>
    <p><%= t("views.settings.finalize_html", email: link_to(@user.unconfirmed_email, "mailto:#{@user.unconfirmed_email}")) %></p>
  </div>
<% end %>