Files
fizzy/app/views/mailers/magic_link_mailer/sign_in_instructions.html.erb
T
Rob Zolkos 854c0b85bc Update magic link sign-up email copy to be surface-agnostic (#2670)
Remove "on the Fizzy sign-up page" from the verification code email since users can now sign up via CLI, not just the web.
2026-03-06 16:47:15 -05:00

17 lines
600 B
Plaintext

<% if @magic_link.for_sign_in? %>
<h1 class="title">Fizzy verification code</h1>
<p class="subtitle">Please enter this 6-character verification code on the Fizzy sign-in page:</p>
<% else %>
<h1 class="title">Welcome to Fizzy!</h1>
<p class="subtitle">Please enter this 6-character verification code to finish creating your account:</p>
<% end %>
<strong class="txt-large"><%= @magic_link.code %></strong>
<p>This code will work for <%= distance_of_time_in_words(MagicLink::EXPIRATION_TIME) %>.</p>
<p class="footer">Need help? <%= mail_to "support@fizzy.do", "Send us an email"%>.
</p>