Files
yavsc/src/Yavsc/Views/Administration/Enroll.cshtml
Paul Schneider 64febe48b0 97 remaining
2023-03-20 19:38:50 +00:00

30 lines
959 B
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@model Yavsc.ViewModels.EnrolerViewModel
@{ 
ViewBag.Title = "Enroll"+" : "+Model.RoleName;
}
<form asp-action="Enroll">
<div class="form-horizontal">
<h4>@ViewBag.Title</h4>
<hr />
<div asp-validation-summary="ModelOnly" class="text-danger"></div>
<div class="form-group">
<label asp-for="EnroledUserId" class="col-md-2 control-label"></label>
<div class="col-md-10">
<select asp-for="EnroledUserId" asp-items=@ViewBag.UserId class="form-control" >
</select>
<span asp-validation-for="EnroledUserId" class="text-danger" ></span>
</div>
</div>
<input type="hidden" asp-for="RoleName" />
<div class="form-group">
<div class="col-md-offset-2 col-md-10">
<input type="submit" value="Submit"]" class="btn btn-default" />
</div>
</div>
</div>
</form>