Adding the ability to specify tokenized default values for content fields, fixes #5934

And also fixing build error. *Shame!*
This commit is contained in:
Lombiq
2015-12-19 20:49:13 +01:00
parent 2835a0db29
commit c216480ca0
41 changed files with 269 additions and 50 deletions

View File

@@ -11,4 +11,7 @@
@if (HasText(settings.Hint)) {
<span class="hint">@settings.Hint</span>
}
@if (!String.IsNullOrWhiteSpace(settings.DefaultValue)) {
<span class="hint">@T("If the field is left empty then the default value will be used.")</span>
}
</fieldset>