<?php
/*
* Plugin-Name: Product Designer App
* Plugin-URI: https://productdesignerapp.com
* Author: productdesignerapp
* Template
*/

if (!defined('ABSPATH'))
{
    exit;
}
?>
<template v-if="modal.type == 'confirmEmail'">
    <div class="modal-body">
        <label class="form-label">{{ langs.topbar.your_email }}</label>
        <div class="input-group input-group-merge">
            <span class="input-group-text bg-white ps-2 pe-1">
                <i class="material-icons material-symbols-outlined">mail</i>
            </span>
            <input type="email" class="form-control" v-model="customerMail" :class="checkEmail(customerMail) != '' ? 'is-invalid' : ''" :placeholder="langs.topbar.your_email_desc">
            <span class="invalid-feedback" v-if="checkEmail(customerMail) != ''">{{ checkEmail(customerMail) }}</span>
        </div>
    </div>

    <div class="modal-footer pb-1 pt-1">
        <button type="button" class="btn btn-light" @click="modal.show = false">{{ langs.options.cancel }}</button>
        <button type="button" class="btn btn-primary" :disabled="checkEmail(customerMail) != ''" @click="openDesign('reload')">{{ langs.topbar.load_designs }}</button>
    </div>
</template>
