@using System.Linq.Expressions
@using System.ComponentModel.DataAnnotations
@using BlazorAnimation

<Animation Effect="@Effect.FadeInUp" Speed="@Speed.Fast" Delay="@TimeSpan.FromMilliseconds(250)">

    <EditForm Model="@Data"
              OnValidSubmit="@HandleValidSubmit"
              OnInvalidSubmit="@HandleInvalidSubmit"
              Context="EditFormContext">
        <div class="text-center">
            <h4>@localizer.GetString(TitleResourceString)</h4>
            <p class="tm-8 mb-0 fw-normal fs-825">
                @localizer.GetString(SubtitleResourceString)
            </p>
        </div>

        <div>
            @CreateEditFormFields()
        </div>
        <DataAnnotationsValidator />
    </EditForm>
    
    <p class="mt-2 cw-480">
        @_formSubmitResult
    </p>
</Animation>
@code {


}