DotVvmBp
Changes
src/DotVvmBp/Views/Default.dothtml 3(+3 -0)
Details
diff --git a/src/DotVvmBp/ViewModels/DefaultViewModel.cs b/src/DotVvmBp/ViewModels/DefaultViewModel.cs
index 0f4153d..1a8e786 100644
--- a/src/DotVvmBp/ViewModels/DefaultViewModel.cs
+++ b/src/DotVvmBp/ViewModels/DefaultViewModel.cs
@@ -1,7 +1,10 @@
namespace DotVvmBP.ViewModels
{
+ using System;
+
public class DefaultViewModel : SiteViewModel
{
+ public DateTime? Expiration { get; set; }
public override string Title => "Default";
public void Refresh()
src/DotVvmBp/Views/Default.dothtml 3(+3 -0)
diff --git a/src/DotVvmBp/Views/Default.dothtml b/src/DotVvmBp/Views/Default.dothtml
index 6e19c51..7589594 100644
--- a/src/DotVvmBp/Views/Default.dothtml
+++ b/src/DotVvmBp/Views/Default.dothtml
@@ -6,6 +6,9 @@
<img class="d-block mx-auto mb-4" src="/wwwroot/images/bootstrap-logo.svg" alt="Bootstrap Logo" width="72" height="57">
<h1 class="display-5 fw-bold">DotVvm with Business Pack</h1>
<div class="col-lg-6 mx-auto">
+ <%--<bp:DateTimePicker SelectedDateTime="{value: Expiration}" />--%>
+
+
<p class="lead mb-4">Try setting a breakpoint on the <i>DefaultViewModel.Refresh()</i> handler. This page will result in the following error message:</p>
<div class="alert alert-danger" role="alert">