Orchard/src/Orchard.Web/Modules/Orchard.Scripting.CSharp/Views/DefinitionTemplates/ScriptValidationPartSettings.cshtml
Sebastien Ros 4f77fab77a Adding Orchard.Scripting.CSharp
--HG--
branch : 1.x
2013-02-27 15:46:23 -08:00

13 lines
517 B
Plaintext

@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>