summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Admin/AddUserToRole.cshtml
diff options
context:
space:
mode:
Diffstat (limited to 'Project-Unite/Views/Admin/AddUserToRole.cshtml')
-rw-r--r--Project-Unite/Views/Admin/AddUserToRole.cshtml24
1 files changed, 24 insertions, 0 deletions
diff --git a/Project-Unite/Views/Admin/AddUserToRole.cshtml b/Project-Unite/Views/Admin/AddUserToRole.cshtml
new file mode 100644
index 0000000..386507c
--- /dev/null
+++ b/Project-Unite/Views/Admin/AddUserToRole.cshtml
@@ -0,0 +1,24 @@
+@model Project_Unite.Models.AddUserToRoleViewModel
+
+@{
+ ViewBag.Title = "Add user to role";
+}
+
+<h2>Add user to role</h2>
+
+@using (Html.BeginForm())
+{
+ <table class="table-condensed">
+ <tr>
+ <td>@Html.DisplayNameFor(model => model.Username)</td>
+ <td>@Html.TextBoxFor(model => model.Username)</td>
+ </tr>
+ <tr>
+ <td>@Html.DisplayNameFor(model => model.RoleId)</td>
+ <td>@Html.TextBoxFor(model => model.RoleId)</td>
+ </tr>
+
+ </table>
+ <input type="submit" class="btn btn-primary" value="Add" />
+}
+