blob: 386507c9c4eefb338e8e5aea5f5e3dba3560f55d (
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
|
@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" />
}
|