Fix for Date and Int datatypes having new editors in MVC4

This commit is contained in:
2012-12-17 21:34:53 -05:00
parent f222cef2e5
commit 2bcca06b7e
12 changed files with 60 additions and 14 deletions
+1 -1
View File
@@ -90,7 +90,7 @@
@Html.DisplayNameFor(m => m.Date)
</dt>
<dd>
@Html.DisplayTextFor(m => m.Date)
@Html.Encode(Model.Date.ToShortDateString())
<small class="muted">(@Html.DisplayTextFor(m => m.DateHowLongAgo))</small>
</dd>
</dl>