@model LanguageModel @{ const string hideInfoBlockAttributeName = "LanguagePage.HideInfoBlock"; var customer = await workContext.GetCurrentCustomerAsync(); var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName); const string hideResourcesBlockAttributeName = "LanguagePage.HideResourcesBlock"; var hideResourcesBlock = await genericAttributeService.GetAttributeAsync(customer, hideResourcesBlockAttributeName, defaultValue: true); }
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.Resources", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.LanguageDetailsBlock, additionalData = Model })