@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.LoginTop, additionalData = Model })
@if (Model.RegistrationType == UserRegistrationType.Disabled)
{
@T("Account.Register")
@T("Account.Register.Result.Disabled")
}
else if (Model.CheckoutAsGuest)
{
@T("Account.Login.CheckoutAsGuestOrRegister")
@await Component.InvokeAsync(typeof(TopicBlockViewComponent), new { systemName = "CheckoutAsGuestOrRegister" })
}
else
{
@T("Account.Login.NewCustomer")
@T("Account.Login.NewCustomerText")
}
@await Component.InvokeAsync(typeof(ExternalMethodsViewComponent), "ExternalAuthentication")
@await Component.InvokeAsync(typeof(TopicBlockViewComponent), new { systemName = "LoginRegistrationInfo" })
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.LoginBottom, additionalData = Model })