@model MaintenanceModel

<div class="card-body">
    <div class="form-group row">
        <div class="col-md-6">
            <nop-label asp-for="DeleteExportedFiles.StartDate" />
        </div>
        <div class="col-md-6">
            <nop-editor asp-for="DeleteExportedFiles.StartDate" />
        </div>
    </div>
    <div class="form-group row">
        <div class="col-md-6">
            <nop-label asp-for="DeleteExportedFiles.EndDate" />
        </div>
        <div class="col-md-6">
            <nop-editor asp-for="DeleteExportedFiles.EndDate" />
        </div>
    </div>
    <div class="form-group row">
        <div class="col-md-6 offset-md-6">
            <button type="submit" name="delete-exported-files" class="btn btn-default">
                <i class="far fa-trash-alt"></i>
                @T("Admin.Common.Delete")
            </button>
        </div>
    </div>
    @if (Model.DeleteExportedFiles.NumberOfDeletedFiles.HasValue)
    {
        <div class="form-group row">
            <div class="col-md-12">
                <div class="alert alert-success alert-dismissible no-margin">
                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
                    @string.Format(T("Admin.System.Maintenance.DeleteExportedFiles.TotalDeleted").Text, Model.DeleteExportedFiles.NumberOfDeletedFiles.Value)
                </div>
            </div>
        </div>
    }
</div>