Created database
This commit is contained in:
parent
e068536abe
commit
eec8e419ba
19 changed files with 618 additions and 4 deletions
44
Lieb/Pages/Users/Create.cshtml
Normal file
44
Lieb/Pages/Users/Create.cshtml
Normal file
|
@ -0,0 +1,44 @@
|
|||
@page
|
||||
@model Lieb.Pages.Users.CreateModel
|
||||
|
||||
@{
|
||||
ViewData["Title"] = "Create";
|
||||
}
|
||||
|
||||
<h1>Create</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>
|
||||
<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="Create" 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