0
0
MyDarling/Views/Account/Create.cshtml

35 lines
1.1 KiB
Plaintext
Raw Normal View History

2023-03-06 07:41:35 +03:00
@using Microsoft.AspNetCore.Identity
@model IdentityUser
<!DOCTYPE html>
<html>
<head>
2023-06-03 07:41:46 +03:00
<title>User Acсounts</title>
2023-03-06 07:41:35 +03:00
<link href="/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
</head>
<body>
<h5 class="bg-primary text-white text-center p-2">Create User</h5>
<form method="post">
<div asp-validation-summary="All" class="text-danger"></div>
<div class="form-group">
2023-06-03 07:41:46 +03:00
<label>Имя пользователя</label>
2023-03-06 07:41:35 +03:00
<input name="UserName" class="form-control" value="@Model.UserName" />
</div>
<div class="form-group">
<label>Email</label>
<input name="Email" class="form-control" value="@Model.Email" />
</div>
<div class="form-group">
2023-06-03 07:41:46 +03:00
<label>Пароль</label>
2023-03-06 07:41:35 +03:00
<input name="Password" class="form-control" value="" />
</div>
<div class="py-2">
2023-06-03 07:41:46 +03:00
<button type="submit" class="btn btn-primary">Сохранить</button>
2023-03-06 07:41:35 +03:00
<a class="btn btn-secondary" asp-page="list">Back</a>
</div>
</form>
</body>
</html>