Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model decimal?
- @{
- var attrs = ViewData;
- if (ViewData["type"] == null)
- {
- attrs.Add("type", "number");
- }
- }
- @Html.TextBoxFor(m => m, attrs)
- @model int?
- @Html.Partial("~/Views/Shared/EditorTemplates/Decimal.cshtml", Model)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement