Add registration workflow
Update unobtrusive Validation
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
@using LeafWeb.WebCms.Utility
|
||||
@model object
|
||||
@{
|
||||
Layout = "_FieldLayout.cshtml";
|
||||
}
|
||||
|
||||
<div class="form-group@(Html.ValidationErrorFor(m => m, " has-error"))">
|
||||
@Html.LabelFor(m => m)
|
||||
<div class="controls">
|
||||
@Html.TextAreaFor(
|
||||
m => m,
|
||||
8, 8,
|
||||
ViewBag.ClearTextField == true ? new { @class = "form-control input-block-level clear-text-field" } : new { @class = "form-control input-block-level" } )
|
||||
@Html.ValidationMessageFor(m => m, null, new { @class = "form-text" })
|
||||
</div>
|
||||
<div class="">
|
||||
@Html.TextAreaFor(m => m, new{rows=8, @class="form-control"})
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user