Disabling spellcheck on layer rule editor.

This commit is contained in:
Sipke Schoorstra
2014-10-12 23:51:58 -07:00
parent 020f6faa45
commit 0315beb92b

View File

@@ -14,6 +14,6 @@
<fieldset>
@Html.LabelFor(layer => layer.LayerRule, T("Layer Rule"))
@Html.TextAreaFor(layer => layer.LayerRule)
@Html.TextAreaFor(layer => layer.LayerRule, new { spellcheck = "false" })
<span class="hint">@T("An expression that evaluates to true when the widgets in this layer must be displayed. See <a href=\"http://docs.orchardproject.net/Documentation/Managing-widgets#AddingaLayer\">http://docs.orchardproject.net/Documentation/Managing-widgets#AddingaLayer</a> for more information.")</span>
</fieldset>