summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Admin/CreateUser.cshtml
blob: d4f9d0b7ca7237ed367c864b878fc092ddf0ee65 (plain) (blame)
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
@model Project_Unite.Models.CreateUserModel
@{
    ViewBag.Title = "Create user";
    ViewBag.Admin = true;
}

<h2>Create a user</h2>

<p>If you are migrating users from a database, all you need is their email and username. We'll handle the rest - like making them reset their password and confirm their email.</p>

@using (Html.BeginForm())
{
    @Html.AntiForgeryToken()
    <table class="table">
        <tr>
            <td><strong>User email: </strong></td>
            <td>@Html.TextBoxFor(Model=>Model.Email, new{@class="form-control", type="email"})</td>
        </tr>
        <tr>
            <td><strong>User display name: </strong></td>
            <td>@Html.TextBoxFor(Model => Model.Username, new { @class = "form-control" })</td>
        </tr>
        <tr>
            <td></td>
            <td><input class="btn btn-primary" type="submit" value="Add" /></td>
        </tr>
    </table>
}