initial add
This commit is contained in:
43
Fab2ApprovalSystem/Views/Home/Edit.cshtml
Normal file
43
Fab2ApprovalSystem/Views/Home/Edit.cshtml
Normal file
@ -0,0 +1,43 @@
|
||||
|
||||
|
||||
@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")
|
||||
}
|
Reference in New Issue
Block a user