@page "{Transaction_UID:guid}"
@model EnotaryoPH.Web.Pages.Participant.Registration.Steps.UploadIdentificationModel

@section Head {
    <link href="\lib\fontawesome-free-6.7.1-web\css\all.min.css" rel="stylesheet" />
}

<section class="my-5">
    <div class="container">
        <div class="row">
            <div class="col">
                <h1>Notaryo Steps</h1>
                <div class="mt-3">
                    @await Component.InvokeAsync("NotaryoSteps", new
                        {
                            NotaryoSteps = new List<NotaryoStep>()
                            {
                                new NotaryoStep { Name = "Upload Identification", Step = 1, IsActive = true },
                                new NotaryoStep { Name = "Take Selfie", Step = 2 }
                            }
                        })
                    <div class="tab-content mt-3"></div>
                </div>
                <form class="mt-4" id="UploadIdentificationForm" method="post" enctype="multipart/form-data">

                    @await Component.InvokeAsync("UploadOrChooseIdentificationDocument", Model.Transaction_UID)
                    <div class="d-flex mt-3">
                        <div class="flex-grow-1"></div>
                        <button class="btn btn-primary btn-lg wizard__nextbutton" type="submit">NEXT<i class="fas fa-chevron-right ms-2"></i></button>
                    </div>
                </form>

            </div>
        </div>
    </div>
</section>

@section Scripts {
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <partial name="_ValidationScriptsPartial" />
    <script src="/dist/_Jfa.js"></script>
    <script src="/js/identification-document.js"></script>
    <script src="~/Pages/Participant/Registration/Steps/UploadIdentification.cshtml.js" asp-append-version="true"></script>
}