registration fixes
This commit is contained in:
parent
48a9b721c0
commit
f6712dbb20
@ -39,8 +39,8 @@
|
||||
<div class="col">
|
||||
<label class="form-label">Register As</label>
|
||||
<div>
|
||||
<div class="form-check form-check-inline"><input id="IsPrincipal" class="form-check-input" type="radio" name="RoleType" checked value="@(nameof(UserType.Principal))" asp-for="RoleType" /><label class="form-check-label" for="IsPrincipal">Principal</label></div>
|
||||
<div class="form-check form-check-inline"><input id="IsNotaryPublic" class="form-check-input" type="radio" name="RoleType" value="@(nameof(UserType.Notary))" asp-for="RoleType" /><label class="form-check-label" for="IsNotaryPublic">Notary Public </label></div>
|
||||
<div class="form-check form-check-inline"><input id="IsPrincipal" class="form-check-input" type="radio" name="RoleType" checked value="Principal" asp-for="RoleType" /><label class="form-check-label" for="IsPrincipal">Principal</label></div>
|
||||
<div class="form-check form-check-inline"><input id="IsNotaryPublic" class="form-check-input" type="radio" name="RoleType" value="Notary" asp-for="RoleType" /><label class="form-check-label" for="IsNotaryPublic">Notary Public </label></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -17,7 +17,11 @@ namespace EnotaryoPH.Web.Pages
|
||||
_passwordService = passwordService;
|
||||
}
|
||||
|
||||
public void OnGet() => RoleType = nameof(UserType.Principal);
|
||||
public void OnGet()
|
||||
{
|
||||
RoleType = nameof(UserType.Principal);
|
||||
BirthDate = DateTime.Now.AddYears(-18);
|
||||
}
|
||||
|
||||
public IActionResult OnPost()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user