Guest User

Untitled

a guest
Dec 8th, 2019
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. @model Tasks.Models.Team
  2. @{
  3. ViewBag.Title = "New";
  4. }
  5.  
  6. <form method="post" action="/Team/New/">
  7. @Html.Label("Name", "Name")
  8. <br />
  9. @Html.TextBox("Name", null, new { @class = "form-control" })
  10. <br />
  11. <label>Select members:</label>
  12. <br />
  13. @*@Html.DropDownListFor(m => m.Members, new SelectList(Model.Users, "Value", "Text"),
  14. "Selectati categoria", new { @class = "form-control" })*@
  15.  
  16. @Html.ListBoxFor(m => Model.SelectedUserIds, Model.Users, new { @class = "form-control" })
  17.  
  18. <br />
  19. <button type="submit" class="btn btn-outline-success">Add team</button>
  20. </form>
RAW Paste Data