@page
@model Admin.Pages.Config.Template.EmailModel

@{
    ViewData["Title"] = "알림 발송 양식";
}

<div class="container">
    <h3>@ViewData["Title"]</h3>
    <hr />

    <div asp-validation-summary="ModelOnly" class="text-danger"></div>
    <partial name="_StatusMessage" />
    <partial name="_Editor" />

    <form name="f_admin_write" id="fAdminWrite" class="mt-2" method="post" autocomplete="off" accept-charset="UTF-8">
        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.RegisterEmailFormTitle" class="col-sm-2 col-form-label">회원가입 시</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.RegisterEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.RegisterEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.RegisterEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.RegisterEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.RegistrationEmailFormTitle" class="col-sm-2 col-form-label">회원가입 완료</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.RegistrationEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.RegistrationEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.RegistrationEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.RegistrationEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.ResetPasswordEmailFormTitle" class="col-sm-2 col-form-label">비밀번호 재설정</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.ResetPasswordEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.ResetPasswordEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.ResetPasswordEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.ResetPasswordEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.ChangedPasswordEmailFormTitle" class="col-sm-2 col-form-label">비밀번호 변경 완료</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.ChangedPasswordEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.ChangedPasswordEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.ChangedPasswordEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.ChangedPasswordEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.WithdrawEmailFormTitle" class="col-sm-2 col-form-label">회원탈퇴 시</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.WithdrawEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.WithdrawEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.WithdrawEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.WithdrawEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.EmailVerifyFormTitle" class="col-sm-2 col-form-label">이메일 변경 시</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.EmailVerifyFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.EmailVerifyFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.EmailVerifyFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.EmailVerifyFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row mb-3">
            <label asp-for="Input.EmailTemplate.ChangedEmailFormTitle" class="col-sm-2 col-form-label">이메일 변경 완료</label>
            <div class="col-sm-10">
                <div class="form-label">
                    <input asp-for="Input.EmailTemplate.ChangedEmailFormTitle" type="text" class="form-control" />
                    <span asp-validation-for="Input.EmailTemplate.ChangedEmailFormTitle" class="text-danger"></span>
                </div>
                <textarea asp-for="Input.EmailTemplate.ChangedEmailFormContent" class="form-control ck-editor"></textarea>
                <span asp-validation-for="Input.EmailTemplate.ChangedEmailFormContent" class="text-danger"></span>
            </div>
        </div>

        <hr />

        <div class="row">
            <div class="col text-center p-3">
                <button type="submit" class="btn btn-success">저장하기</button>
            </div>
        </div>

        <br />
    </form>
</div>

@section Scripts {
    @{

    }
}