mirror of https://github.com/abpframework/abp
parent
eb6f5df7f1
commit
8b361da7bb
@ -0,0 +1,11 @@
|
||||
@model Volo.CmsKit.ViewComponents.CommentDateViewComponent
|
||||
|
||||
<p>Welcome Comment Date Component</p>
|
||||
@if (Model.IsShow)
|
||||
{
|
||||
<p> @DateTime.Today.ToLongDateString()</p>
|
||||
}
|
||||
else
|
||||
{
|
||||
<p>Without date</p>
|
||||
}
|
||||
@ -0,0 +1,6 @@
|
||||
<div class="form-check mb-3">
|
||||
<input class="form-check-input" type="checkbox" id="NewOption" />
|
||||
<label class="form-check-label text-primary d-block" for="NewOption">
|
||||
Show date in the component
|
||||
</label>
|
||||
</div>
|
||||
Loading…
Reference in new issue