@inherits Dynamicweb.Rendering.ViewModelTemplate<Dynamicweb.Frontend.ParagraphViewModel>
@using Dynamicweb
@using Dynamicweb.Frontend
@{ 
	string moduleOutput = Model.GetModuleOutput();
	
	if (Dynamicweb.Context.Current.Items.Contains("Cart"))
	{
		Dynamicweb.Context.Current.Items["Cart"] = Model;
	}
	else
	{
		Dynamicweb.Context.Current.Items.Add("Cart", Model);
	}
}

@if (Pageview.IsVisualEditorMode && !string.IsNullOrEmpty(moduleOutput)) {
    <div class="alert alert-info" role="alert">
        <span>@Translate("App: Edit this column to configure")</span>
    </div>
}

<div class="min-vh-lg-100 h-lg-100">
	@moduleOutput
</div>
