summaryrefslogtreecommitdiff
path: root/Views/Account/Create.cshtml
blob: 2fff64a529df44fde0a3a6415e6bac9533cf21fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@using Microsoft.AspNetCore.Identity
@model IdentityUser

<!DOCTYPE html>
<html>

<head>
    <title>User Acccounts</title>
    <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">
            <label>User Name</label>
            <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">
            <label>Password</label>
            <input name="Password" class="form-control" value="" />
        </div>
        <div class="py-2">
            <button type="submit" class="btn btn-primary">Submit</button>
            <a class="btn btn-secondary" asp-page="list">Back</a>
        </div>
    </form>
</body>

</html>