@page "{IdentificationDocument_UID?}"
@model EnotaryoPH.Web.Pages.Principal.IdentificationDocument.IdentificationDocumentModel

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

<section class="mt-5 mb-2">
    <div class="container">
        <h1>Identification Document</h1>
        <form method="post" enctype="multipart/form-data">
            @Html.EditorFor(m => m.IdentificationDocument)
            <div class="mt-4">
                <button type="submit" class="btn btn-primary btn-lg">
                    <i class="far fa-save me-2"></i>
                    SAVE
                </button>
                @if (Model.IdentificationDocument_UID != Guid.Empty)
                {
                    <button type="button" class="btn btn-danger btn-lg identificationdocument__delete__button">
                        <i class="fa fa-times me-2"></i>
                        DELETE
                    </button>
                }
            </div>
        </form>
    </div>
</section>

@section Scripts {
    <script src="~/lib/jquery/dist/jquery.min.js"></script>
    <partial name="_ValidationScriptsPartial" />
    <script src="~/dist/js/jfa.min.js"></script>
    <script src="~/js/identification-document.js"></script>

}