forked from bhrugen/IdentityManager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bhrugen Patel
committed
Sep 6, 2020
1 parent
227dc5f
commit ce6dab6
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
@model ApplicationUser | ||
<h1 class="text-info">Edit User</h1> | ||
|
||
<div class="row"> | ||
<div class="col-md-8"> | ||
<form method="post" asp-action="Edit"> | ||
<input asp-for="@Model.Id" hidden /> | ||
<hr /> | ||
<div asp-validation-summary="All" class="text-danger"></div> | ||
|
||
<div class="form-group"> | ||
<label asp-for="Name"></label> | ||
<input asp-for="Name" class="form-control" /> | ||
<span asp-validation-for="Name" class="text-danger"></span> | ||
</div> | ||
|
||
<div class="form-group"> | ||
<label asp-for="Email"></label> | ||
<input asp-for="Email" readonly class="form-control" /> | ||
<input asp-for="Email" hidden /> | ||
</div> | ||
<div class="form-group"> | ||
<label asp-for="RoleId"></label> | ||
<select asp-for="RoleId" asp-items="@Model.RoleList" class="form-control"> | ||
<option disabled selected>--Select Role--</option> | ||
</select> | ||
</div> | ||
<div class="form-group"> | ||
<button type="submit" class="btn btn-success">Update</button> | ||
<a asp-action="Index" class="btn btn-warning" style="width:auto">Back to User</a> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
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