@using LeafWeb.Web.Utility @model float? @{ float f; if (!Model.HasValue) { f = 0.0f; } else { f = Model.Value; } }
@Html.LabelFor(m => m, new { @class = "control-label" })
@Html.TextBox( "", f, ViewBag.ClearTextField == true ? new { @class = "form-control clear-text-field input-block-level" } : new { @class = "form-control input-block-level" })0,00
@Html.ValidationMessageFor(m => m, null, new { @class = "help-block" })