parent
2a565522e2
commit
e2052f136b
@ -0,0 +1,23 @@
|
||||
@page "/addAdministrators"
|
||||
@using Blazor.Models
|
||||
|
||||
<h3>AddAdministrators</h3>
|
||||
|
||||
<EditForm Model="@administratorModel" OnValidSubmit="@HandleValidSubmit">
|
||||
<DataAnnotationsValidator />
|
||||
<ValidationSummary />
|
||||
|
||||
<p>
|
||||
<label for="username">
|
||||
Username:
|
||||
<InputText id="username" @bind-Value="administratorModel.Username" />
|
||||
</label>
|
||||
<label>
|
||||
Password:
|
||||
<InputText id="hashedpassword" @bind-Value="administratorModel.hashedPassword" />
|
||||
</label>
|
||||
</p>
|
||||
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
</EditForm>
|
Loading…
Reference in new issue