enrolment

This commit is contained in:
2019-06-22 22:39:11 +01:00
parent a2f5886526
commit a6fcf3d3d7
17 changed files with 174 additions and 64 deletions

View File

@ -0,0 +1,29 @@
@model Yavsc.ViewModels.EnrolerViewModel
@{ 
ViewBag.Title = SR["Enroll"]+" : "+Model.RoleName;
}
<form asp-action="Enroll">
<div class="form-horizontal">
<h4>@ViewBag.Title</h4>
<hr />
<div asp-validation-summary="ValidationSummary.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="@SR["Submit"]" class="btn btn-default" />
</div>
</div>
</div>
</form>