summaryrefslogtreecommitdiff
path: root/Project-Unite/Views/Admin/AddUserToRole.cshtml
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-03-26 12:21:39 -0400
committerMichael <[email protected]>2017-03-26 12:21:39 -0400
commitf8808ebe131b34da4013b407fe58f235b6a439aa (patch)
tree3f245a4d68432355321d7da0058f05bee3fb77c7 /Project-Unite/Views/Admin/AddUserToRole.cshtml
parentec06cd1752682bb74490e73257bc49751b61ec2b (diff)
downloadproject-unite-f8808ebe131b34da4013b407fe58f235b6a439aa.tar.gz
project-unite-f8808ebe131b34da4013b407fe58f235b6a439aa.tar.bz2
project-unite-f8808ebe131b34da4013b407fe58f235b6a439aa.zip
Ability to add user to role
Diffstat (limited to 'Project-Unite/Views/Admin/AddUserToRole.cshtml')
-rw-r--r--Project-Unite/Views/Admin/AddUserToRole.cshtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/Project-Unite/Views/Admin/AddUserToRole.cshtml b/Project-Unite/Views/Admin/AddUserToRole.cshtml
index 386507c..d91124a 100644
--- a/Project-Unite/Views/Admin/AddUserToRole.cshtml
+++ b/Project-Unite/Views/Admin/AddUserToRole.cshtml
@@ -11,11 +11,11 @@
<table class="table-condensed">
<tr>
<td>@Html.DisplayNameFor(model => model.Username)</td>
- <td>@Html.TextBoxFor(model => model.Username)</td>
+ <td>@Html.DropdownListFor(model => model.Username, Model.Users, new { @class = "form-control" })</td>
</tr>
<tr>
<td>@Html.DisplayNameFor(model => model.RoleId)</td>
- <td>@Html.TextBoxFor(model => model.RoleId)</td>
+ <td>@Html.DropDownListFor(model => model.RoleId, Model.Roles, new { @class = "form-control" })</td>
</tr>
</table>