mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
added quiz popup form and displaying on month
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
@using Management.Web.Shared.Components.Quiz
|
||||
|
||||
@inject DragContainer dragContainer
|
||||
@inject QuizEditorContext quizContext
|
||||
|
||||
@inherits DroppableQuiz
|
||||
|
||||
@code {
|
||||
|
||||
private bool showUpdateForm { get; set; } = false;
|
||||
|
||||
|
||||
private void HandleDragStart()
|
||||
{
|
||||
dragContainer.DropCallback = dropCallback;
|
||||
@@ -26,7 +24,7 @@
|
||||
draggable="true"
|
||||
@ondragstart="HandleDragStart"
|
||||
@ondragend="HandleDragEnd"
|
||||
@onclick="@(() => showUpdateForm = true)"
|
||||
@onclick="@(() => quizContext.Quiz = Quiz)"
|
||||
role="button"
|
||||
>
|
||||
<div class="card">
|
||||
|
||||
Reference in New Issue
Block a user