Created
December 30, 2017 00:03
-
-
Save A2H111/a230a10052cc4693699697fe0fa59ce9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@model AspNetCoreMVCMongoDBDemo.Models.Customer | |
@{ | |
Layout = "_Layout"; | |
} | |
@{ | |
ViewData["Title"] = "Details"; | |
} | |
<h2>Edit Customer Details</h2> | |
<hr /> | |
<div class="row"> | |
<div class="col-md-4"> | |
<form asp-action="Edit"> | |
<div asp-validation-summary="ModelOnly" class="text-danger"></div> | |
<div class="form-group"> | |
<label asp-for="CustomerId" class="control-label"></label> | |
<input asp-for="CustomerId" class="form-control" /> | |
</div> | |
<div class="form-group"> | |
<label asp-for="CustomerName" class="control-label"></label> | |
<input asp-for="CustomerName" class="form-control" /> | |
<span asp-validation-for="CustomerName" class="text-danger"></span> | |
</div> | |
<div class="form-group"> | |
<label asp-for="Address" class="control-label"></label> | |
<input asp-for="Address" class="form-control" /> | |
<span asp-validation-for="Address" class="text-danger"></span> | |
</div> | |
<div class="form-group"> | |
<input type="submit" value="Save" class="btn btn-default" /> | |
</div> | |
</form> | |
</div> | |
</div> | |
<div> | |
<a asp-action="Index">Back to List</a> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment