Textbox for specifying Default value to NumericField re-added, fixes #8124 (#8204)

Lombiq Technologies: ORCH-194
This commit is contained in:
Attila Álmos Szabó
2019-05-18 20:46:53 +02:00
committed by Benedek Farkas
parent eababa3d13
commit 2f96ccbd8a

View File

@@ -1,5 +1,4 @@
@model Orchard.Fields.Settings.NumericFieldSettings
@using Orchard.Fields.Settings;
<fieldset>
<div>
@@ -50,6 +49,8 @@
<fieldset>
<div class="editor-field">
<label for="@Html.FieldIdFor(m => m.DefaultValue)">@T("Default value")</label>
@Html.TextBoxFor(m => m.DefaultValue, new { @class = "text large tokenized ui-autocomplete-input" })
<span class="hint">@T("The default value for the field. It must be a number, and if not it will not be shown. Make sure to set the Scale property if the value is not an integer. You can use tokens in this field. (optional)")</span>
@Html.ValidationMessageFor(m => m.DefaultValue)
</div>
</fieldset>