Made the DevTools content type setting UI a little more friendly

- also a friendly reminder to myself (or anyone reading this) that I need to hook up an overloaded Html.Label that takes a for value and label text

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-06-28 15:43:36 -07:00
parent b22e156d07
commit 21328875f3

View File

@@ -1,6 +1,6 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Orchard.DevTools.Settings.DevToolsSettings>" %>
<%@ Control Language="C#" Inherits="Orchard.Mvc.ViewUserControl<Orchard.DevTools.Settings.DevToolsSettings>" %>
<fieldset>
<%:Html.LabelFor(m=>m.ShowDebugLinks) %>
<%:Html.EditorFor(m=>m.ShowDebugLinks) %>
<label for="<%:Html.FieldIdFor(m => m.ShowDebugLinks) %>" class="forcheckbox"><%:T("Show debug links") %></label>
<%:Html.ValidationMessageFor(m=>m.ShowDebugLinks) %>
</fieldset>