12 lines
429 B
Plaintext
12 lines
429 B
Plaintext
@model Decimal
|
|
@{
|
|
var postfix = "";
|
|
if (ViewData.ContainsKey("postfix") && ViewData["postfix"] != null)
|
|
{
|
|
postfix = ViewData["postfix"].ToString();
|
|
}
|
|
var culture = CultureInfo.CurrentCulture.TextInfo.IsRightToLeft ? CultureInfo.InvariantCulture : CultureInfo.CurrentCulture;
|
|
}
|
|
<div class="input-postfix" data-postfix="@postfix">
|
|
<input asp-for="@Model" type="number" class="form-control" />
|
|
</div> |