Switches resend email to modal

This commit is contained in:
Mouse Reeve
2022-03-19 12:00:16 -07:00
parent dc9f8fccb7
commit 4386d2ddb9
7 changed files with 81 additions and 35 deletions

View File

@ -29,9 +29,14 @@
</section>
<section class="block">
{% trans "Can't find your code?" as button_text %}
{% include "snippets/toggle/open_button.html" with text=button_text controls_text="resend_form" focus="resend_form_header" %}
{% include "confirm_email/resend_form.html" with controls_text="resend_form" %}
<button
type="button"
class="button"
data-modal-open="resend_form"
>
{% trans "Can't find your code?" %}
</button>
{% include "confirm_email/resend_modal.html" with id="resend_form" %}
</section>
</div>
</div>