<% if current_user.email.blank? %>
<% end %>
<% if @user.unconfirmed_email.present? %>
<% end %>
<% if @user.errors.any? %>
<%= render partial: "users/errors", locals: { errors: @user.errors, title_suffix: "prohibited your profile from being saved" } %>
<% end %>
<% if @organization&.errors&.any? %>
<%= render partial: "users/errors", locals: { errors: @organization.errors, title_suffix: "prohibited your organization profile from being saved" } %>
<% end %>
<%= render "users/" + @tab.tr("-", "_"), tab: @tab %>
Confirm your email to complete your profile.
While you're at it, go ahead and fill everything out. <% if @user.twitter_username.blank? %> Connect your twitter account as well to complete your identity. <% elsif @user.github_username.blank? %> Connect your github account as well to complete your identity. <% end %>
Email verification.
You have requested a change to <%= @user.unconfirmed_email %>. Check your inbox for the verification link to finalize the change.