FruitBank/Presentation/Nop.Web/Areas/Admin/Views/Shared/EditorTemplates/Double.cshtml

11 lines
299 B
Plaintext

@model Double
@{
var postfix = "";
if (ViewData.ContainsKey("postfix") && ViewData["postfix"] != null)
{
postfix = ViewData["postfix"].ToString();
}
}
<div class="input-postfix" data-postfix="@postfix">
<input asp-for="@Model" type="number" class="form-control" />
</div>