Files
LeafWeb/WebCms/Views/Shared/EditorTemplates/Text.cshtml
T

14 lines
529 B
Plaintext

@using LeafWeb.WebCms.Utility
@model object
<div class="form-group@(Html.ValidationErrorFor(m => m, " has-error"))">
@Html.LabelFor(m => m)
<div class="controls">
@Html.TextBox(
"",
ViewData.TemplateInfo.FormattedModelValue,
ViewBag.ClearTextField == true ? new { @class = "form-control clear-text-field input-block-level" } : new { @class = "form-control input-block-level" } )
@Html.ValidationMessageFor(m => m, null, new { @class = "form-text" })
</div>
</div>