summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Admin/CreateUser.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-24 20:37:45 -0400
committerMichael <[email protected]>2017-03-24 20:37:45 -0400
commit15f4ac37540589a4c8d565428ca2fe61f968a244 (patch)
treeb8b68f0dd412a83274f786f533753830f23fbc99 /Project-Unite/Views/Admin/CreateUser.cshtml
parent7206bca7d45e9662e4fb58525408513eee62edab (diff)
downloadproject-unite-15f4ac37540589a4c8d565428ca2fe61f968a244.tar.gz
project-unite-15f4ac37540589a4c8d565428ca2fe61f968a244.tar.bz2
project-unite-15f4ac37540589a4c8d565428ca2fe61f968a244.zip
create user views
Diffstat (limited to 'Project-Unite/Views/Admin/CreateUser.cshtml')
-rw-r--r--Project-Unite/Views/Admin/CreateUser.cshtml25
1 files changed, 25 insertions, 0 deletions
diff --git a/Project-Unite/Views/Admin/CreateUser.cshtml b/Project-Unite/Views/Admin/CreateUser.cshtml
new file mode 100644
index 0000000..0a2fbb8
--- /dev/null
+++ b/Project-Unite/Views/Admin/CreateUser.cshtml
@@ -0,0 +1,25 @@
+@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>
+
+ </table>
+}