2021-03-01 16:38:54 -05:00
|
|
|
<div class="row justify-content-center">
|
2021-03-10 09:27:24 -05:00
|
|
|
<div class="col-11 col-sm-10 col-md-8 col-lg-7 col-xl-6 col-xxl-5">
|
2020-09-12 20:07:02 -04:00
|
|
|
|
2021-03-03 08:15:14 -05:00
|
|
|
<h2>
|
2022-08-13 07:32:36 -04:00
|
|
|
<i class="bi bi-arrow-repeat"></i> Resend confirmation instructions
|
2021-03-03 08:15:14 -05:00
|
|
|
</h2>
|
2021-03-02 10:35:36 -05:00
|
|
|
<p class="lead">We'll send you another email with instructions to confirm your email address.</p>
|
2020-09-12 20:07:02 -04:00
|
|
|
|
2021-03-01 16:38:54 -05:00
|
|
|
<%= form_for :user, Routes.user_confirmation_path(@conn, :create), [class: "needs-validation", novalidate: true], fn f -> %>
|
|
|
|
|
2021-03-09 10:22:05 -05:00
|
|
|
<%= label f, :email, class: "form-label" %>
|
|
|
|
<div class="inner-addon left-addon mb-3">
|
2022-08-13 07:32:36 -04:00
|
|
|
<i class="bi bi-at icon is-left text-muted fs-5"></i>
|
2021-03-01 16:38:54 -05:00
|
|
|
<%= email_input f, :email,
|
|
|
|
value: @current_user && @current_user.email || "",
|
|
|
|
placeholder: "e.g., babka@73k.us",
|
|
|
|
class: "form-control",
|
|
|
|
maxlength: User.max_email,
|
|
|
|
required: true,
|
|
|
|
autofocus: !@current_user
|
|
|
|
%>
|
|
|
|
<span class="invalid-feedback">must be a valid email address</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="mb-3">
|
|
|
|
<%= submit "Resend confirmation instructions", class: "btn btn-primary" %>
|
|
|
|
</div>
|
2020-09-12 20:07:02 -04:00
|
|
|
|
2021-03-01 16:38:54 -05:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<%= link "Register", to: Routes.user_registration_path(@conn, :new) %> |
|
|
|
|
<%= link "Log in", to: Routes.user_session_path(@conn, :new) %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|