Created database
This commit is contained in:
parent
e068536abe
commit
eec8e419ba
19 changed files with 618 additions and 4 deletions
45
Lieb/Pages/Users/Edit.cshtml
Normal file
45
Lieb/Pages/Users/Edit.cshtml
Normal file
|
@ -0,0 +1,45 @@
|
|||
@page
|
||||
@model Lieb.Pages.Users.EditModel
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Edit";
|
||||
}
|
||||
|
||||
<h1>Edit</h1>
|
||||
|
||||
<h4>User</h4>
|
||||
<hr />
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<form method="post">
|
||||
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
|
||||
<input type="hidden" asp-for="User.UserId" />
|
||||
<div class="form-group">
|
||||
<label asp-for="User.DiscordUserId" class="control-label"></label>
|
||||
<input asp-for="User.DiscordUserId" class="form-control" />
|
||||
<span asp-validation-for="User.DiscordUserId" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="User.Name" class="control-label"></label>
|
||||
<input asp-for="User.Name" class="form-control" />
|
||||
<span asp-validation-for="User.Name" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="User.Birthday" class="control-label"></label>
|
||||
<input asp-for="User.Birthday" class="form-control" />
|
||||
<span asp-validation-for="User.Birthday" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" value="Save" class="btn btn-primary" />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a asp-page="./Index">Back to List</a>
|
||||
</div>
|
||||
|
||||
@section Scripts {
|
||||
@{await Html.RenderPartialAsync("_ValidationScriptsPartial");}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue