44 lines
914 B
Plaintext
44 lines
914 B
Plaintext
|
|
|
|
@model Fab2ApprovalSystem.Models.TestModel
|
|
|
|
@{
|
|
ViewBag.Title = "Edit";
|
|
}
|
|
|
|
<h2>Edit</h2>
|
|
|
|
@using (Html.BeginForm())
|
|
{
|
|
@Html.ValidationSummary(true)
|
|
|
|
<fieldset>
|
|
<legend>TestModel</legend>
|
|
|
|
|
|
<div class="editor-label">
|
|
@Html.LabelFor(model => model.Name)
|
|
</div>
|
|
<div class="editor-field">
|
|
@Html.EditorFor(model => model.Name)
|
|
@Html.ValidationMessageFor(model => model.Name)
|
|
</div>
|
|
<div>
|
|
@(Html.Kendo().MultiSelectFor(model => model.Countries)
|
|
.Placeholder("Select Countires")
|
|
.BindTo(Fab2ApprovalSystem.Misc.DemoHelper.GetCountries()))
|
|
</div>
|
|
<p>
|
|
<input type="submit" value="Save" />
|
|
</p>
|
|
</fieldset>
|
|
}
|
|
|
|
<div>
|
|
@Html.ActionLink("Back to List", "Index")
|
|
</div>
|
|
|
|
@section Scripts {
|
|
@Scripts.Render("~/bundles/jqueryval")
|
|
}
|