fix : add et edit de toute les pages
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
e9fbf7c15a
commit
50af63099e
@ -1,6 +1,52 @@
|
||||
@page "/addAdministrator"
|
||||
@page "/addQuestion"
|
||||
@using Blazor.Models
|
||||
|
||||
<h3>AddQuestion</h3>
|
||||
|
||||
<EditForm Model="@questionModel" OnValidSubmit="@HandleValidSubmit">
|
||||
<DataAnnotationsValidator />
|
||||
<ValidationSummary />
|
||||
|
||||
<p>
|
||||
<label for="content">
|
||||
Content:
|
||||
<InputText id="content" @bind-Value="questionModel.Content" />
|
||||
</label>
|
||||
</p>
|
||||
<p>
|
||||
@* <label for="chapter">
|
||||
Chapter:
|
||||
<InputText id="chapter" />
|
||||
</label> *@
|
||||
</p>
|
||||
@* <p>
|
||||
<label for="reponse1">
|
||||
Reponse n°1:
|
||||
<InputText id="reponse1" @bind-Value="questionModel.HashedPassword" />
|
||||
</label>
|
||||
<InputCheckbox></InputCheckbox>
|
||||
</p>
|
||||
<p>
|
||||
<label for="reponse2">
|
||||
Reponse n°2:
|
||||
<InputText id="reponse2" @bind-Value="questionModel.HashedPassword" />
|
||||
</label>
|
||||
<InputCheckbox></InputCheckbox>
|
||||
</p>
|
||||
<p>
|
||||
<label for="reponse3">
|
||||
Reponse n°3:
|
||||
<InputText id="reponse3" @bind-Value="questionModel.HashedPassword" />
|
||||
</label>
|
||||
<InputCheckbox></InputCheckbox>
|
||||
</p>
|
||||
<p>
|
||||
<label for="reponse4">
|
||||
Reponse n°4:
|
||||
<InputText id="reponse4" @bind-Value="questionModel.HashedPassword" />
|
||||
</label>
|
||||
<InputCheckbox></InputCheckbox>
|
||||
</p> *@
|
||||
|
||||
<button type="submit">Submit</button>
|
||||
</EditForm>
|
||||
|
Loading…
Reference in new issue