Example modal body
Some paragraph
Some other paragraph
@using KXB.Spark.Modal
@model Web.ViewModels.SparkViewModel
@{
Layout = "~/Views/Layouts/_Layout.cshtml";
var model = KXB.Spark.Modal.Modal.GenerateInstance();
var previewModel = KXB.Spark.Modal.Modal.GenerateInstance(viewPath: "~/Views/Partials/_ModalModelPreview.cshtml", dynamicData: model, icon: "fa-code", buttonText: "");
}
@Html.Partial("~/Views/Partials/_InstallationGuide.cshtml", Model.NugetModel)
<hr />
<div class="container">
<h2 class="title">Preview</h2>
<h3 class="subtitle">With partial view</h3>
@Html.Partial(Modal.RazorViewPath, model)
<div class="model-preview">
@Html.Partial(Modal.RazorViewPath, previewModel)
</div>
</div>
<hr />