@using (Html.BeginForm()) { @Html.AntiForgeryToken() <div dir="rtl"> <div class="form-horizontal"> <h3>Create</h3> <hr /> <div class="form-border"> <div class="form-group"> @Html.LabelFor(model => model.Name, htmlAttributes: new { @class = "control-label col-md-2 " }) <div class="col-md-8"> @Html.EditorFor(model => model.Name, new { htmlAttributes = new { @class = "form-control" } }) @Html.ValidationMessageFor(model => model.Name, "", new { @class = "text-danger" }) </div> </div> </div> </div> </div>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)