changed casing of local assets

This commit is contained in:
2023-08-05 17:04:02 -06:00
parent 097bd635a2
commit 1ab0676881
16 changed files with 218 additions and 162 deletions

View File

@@ -0,0 +1,42 @@
@using Management.Web.Shared.Components
@code {
public LocalModule Module { get; set; } = default!;
[Parameter]
[EditorRequired]
public LocalQuiz Quiz
{
get;
set;
} = default!;
[Parameter]
[EditorRequired]
public bool Show { get; set; }
[Parameter]
public Action OnHide { get; set; } = () => { };
private Modal? Modal { get; set; }
private void submitHandler ()
{
}
}
<Modal @ref="Modal" OnHide="@(() => OnHide())">
<Title>
@Quiz.Name
</Title>
<Body>
<form @onsubmit:preventDefault="true" @onsubmit="submitHandler">
</form>
</Body>
<Footer>
<button class="btn btn-primary" @onclick="submitHandler">
Save
</button>
</Footer>
</Modal>