@model PollModel @{ const string hideInfoBlockAttributeName = "PollPage.HideInfoBlock"; var customer = await workContext.GetCurrentCustomerAsync(); var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName); const string hideAnswersBlockAttributeName = "PollPage.HideAnswersBlock"; var hideAnswersBlock = await genericAttributeService.GetAttributeAsync(customer, hideAnswersBlockAttributeName, defaultValue: true); }
@await Html.PartialAsync("_CreateOrUpdate.Info", Model) @await Html.PartialAsync("_CreateOrUpdate.Answers", Model) @await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.PollDetailsBlock, additionalData = Model })