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.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>