| 1 |
<?php |
| 2 |
/** |
| 3 |
* Form Templates - Code from email modal. |
| 4 |
* |
| 5 |
* @package Formidable |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( ! defined( 'ABSPATH' ) ) { |
| 9 |
die( 'You are not allowed to call this page directly.' ); |
| 10 |
} |
| 11 |
?> |
| 12 |
<div id="frm-code-from-email-modal" class="frm_wrap frm-form-templates-modal-item frm_hidden"> |
| 13 |
<div class="frm_modal_top"> |
| 14 |
<div class="frm-modal-title"> |
| 15 |
<h2><?php esc_html_e( 'Check Your Inbox', 'formidable' ); ?></h2> |
| 16 |
</div> |
| 17 |
</div> |
| 18 |
|
| 19 |
<div class="inside frm_grid_container frm-fields frm-px-md frm-py-0 frm-mt-xs frm-mb-0"> |
| 20 |
<p><?php esc_html_e( 'Enter the code that we sent to your email address.', 'formidable' ); ?></p> |
| 21 |
|
| 22 |
<div class="frm-form-templates-modal-fieldset frm_form_field"> |
| 23 |
<input id="frm_code_from_email" type="text" placeholder="<?php esc_attr_e( 'Code from email', 'formidable' ); ?>" /> |
| 24 |
|
| 25 |
<span id="frm_code_from_email_error" class="frm-validation-error frm-justify-center frm-items-center frm-mt-xs frm_hidden"> |
| 26 |
<span frm-error="custom"></span> |
| 27 |
<span frm-error="invalid"><?php esc_html_e( 'Verification code is wrong', 'formidable' ); ?></span> |
| 28 |
<span frm-error="empty"><?php esc_html_e( 'Verification code is empty', 'formidable' ); ?></span> |
| 29 |
</span> |
| 30 |
</div> |
| 31 |
|
| 32 |
<div id="frm_code_from_email_options" class="frm-justify-center frm-items-center frm_hidden"> |
| 33 |
<a href="#" id="frm-change-email-address"><?php esc_html_e( 'Change email address', 'formidable' ); ?></a> |
| 34 |
<span>|</span> |
| 35 |
<a href="#" id="frm-resend-code"><?php esc_html_e( 'Resend code', 'formidable' ); ?></a> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
|
| 39 |
<div class="frm_modal_footer frm-flex-box frm-justify-end frm-pt-sm frm-pb-md"> |
| 40 |
<a href="#" id="frm-code-modal-back-button" role="button" class="button button-secondary frm-button-secondary" role="button"> |
| 41 |
<?php esc_html_e( 'Back', 'formidable' ); ?> |
| 42 |
</a> |
| 43 |
<a href="#" id="frm-confirm-email-address" class="button button-primary frm-button-primary" role="button"> |
| 44 |
<?php esc_html_e( 'Save Code', 'formidable' ); ?> |
| 45 |
</a> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
|