Orchard/src/Orchard.Web/Modules/Orchard.Scripting.CSharp/Views/DefinitionTemplates/ScriptValidationPartSettings.cshtml

13 lines
517 B
Plaintext
Raw Normal View History

@model Orchard.Scripting.CSharp.Settings.ScriptValidationPartSettings
@using Contrib.Validation.Settings
@Display.TokenHint()
<fieldset>
<label for="@Html.FieldIdFor(m => m.Script)">@T("Script")</label>
<div>
@Html.TextAreaFor(m => m.Script, new { @class = "textMedium", rows = "5" })
<span class="hint">@T("The script to run everytime the content item is edited. You can use contentItem, orchardServices, workContext, t() and addModelError().")</span>
</div>
</fieldset>