Preview:
# original code found at
# https://github.com/forem/forem/blob/5e93d3a25ecc800703aa100d286c8c75c9173ddf/app/views/users/edit.html.erb#L63
  
 <% if current_user.email.blank? %>
  <div class="crayons-notice crayons-notice--warning mb-6" aria-live="polite">
    <h3 class="mb-2"><%= t("views.settings.complete.heading") %></h3>
    <p>
      <%= t("views.settings.complete.desc") %>
      <% if @user.twitter_username.blank? %>
        <%= t("views.settings.complete.twitter") %>
      <% elsif @user.github_username.blank? %>
        <%= t("views.settings.complete.github") %>
      <% end %>
    </p>
  </div>
<% end %>
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter