Fix for Date and Int datatypes having new editors in MVC4
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user