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>
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
<p>
|
||||
You've successfully created an entry
|
||||
for <strong>@Html.DisplayTextFor(m => m.EmployeeName)</strong>
|
||||
traveling to <strong>@Html.DisplayTextFor(m => m.CityName)</strong>
|
||||
on <strong>@Html.DisplayTextFor(m => m.Date)</strong>
|
||||
traveling to <strong>@Html.DisplayTextFor(m => m.CityName)</strong>
|
||||
on <strong>@Html.Encode(Model.Date.ToShortDateString())</strong>
|
||||
in Vehicle Id <strong>@Html.DisplayTextFor(m => m.VehicleId)</strong>
|
||||
</p>
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user