-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- enable config for default value on generate question - require wireui
- Loading branch information
1 parent
3eb9570
commit 68c93cf
Showing
5 changed files
with
67 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="flex justify-center items-center gap-1"> | ||
<x-button.circle primary icon="pencil" wire:click="$dispatchTo('{@classNameSlug}.{@classNameSlug}-page', 'edit',{ id : {{$row->{@primaryKey}}} })"/> | ||
<x-button.circle negative icon="trash" wire:click="$dispatch('confirmDestroy',{ id : {{$row->{@primaryKey}}} })"/> | ||
<x-button.circle primary icon="pencil" wire:click="$parent.edit({ id : {{$row->{@primaryKey}}} })"/> | ||
<x-button.circle negative icon="trash" wire:click="$dispatchTo('{@classNameSlug}.{@classNameSlug}-page','confirmDestroy',{ id : {{$row->{@primaryKey}}} })"/> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
<x-modal.card max-width="4xl" blur wire:model.defer="showModalForm" align="start"> | ||
<x-modal.card blur wire:model.defer="showModalForm" align="start"> | ||
<form action="#" wire:submit.prevent="save" class="relative flex flex-col gap-4"> | ||
|
||
<div class="flex flex-col gap-4"> | ||
<div class="grid grid-cols-1 md:grid-cols-2 gap-4"> | ||
{@forms} | ||
</div> | ||
|
||
<div class="md:flex place-content-end py-4 gap-1"> | ||
<x-button secondary x-on:click="show = false"> | ||
{{ __('messages.close') }} | ||
</x-button> | ||
<x-button spinner="save" loading-delay="short" type="submit" primary> | ||
{{ $updateMode ? __('messages.save_changes') : __('messages.save') }} | ||
</x-button> | ||
<x-button secondary x-on:click="show = false" label="Tutup"/> | ||
<x-button spinner="save" loading-delay="short" type="submit" primary | ||
label=" {{ $updateMode ? __('messages.save_changes') : __('messages.save') }}"/> | ||
</div> | ||
</form> | ||
</x-modal.card> |