-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from codions/bugfix/jet-dialog-modal
Modal form component temporarily removed
- Loading branch information
Showing
1 changed file
with
22 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,29 @@ | ||
<div class="lv-modal-form lv-block d-inline-block"> | ||
{{-- The whole world belongs to you. --}} | ||
<button type="button" wire:click="createShowModal" class="btn btn-dark mt-3 mb-3"> | ||
{{ __($btnText) }} | ||
</button> | ||
<form wire:submit.prevent="submit" class="d-inline-block ml-2 mt-sm--3"> | ||
<x-jet-dialog-modal wire:model="modalFormVisible"> | ||
<x-slot name="title"> | ||
{{ $title }} | ||
</x-slot> | ||
<form wire:submit.prevent="submit" class="d-inline-block ml-2 mt-sm--3"> | ||
{{-- TODO: Implement this component later | ||
<x-jet-dialog-modal wire:model="modalFormVisible"> | ||
<x-slot name="title"> | ||
{{ $title }} | ||
</x-slot> | ||
<x-slot name="content"> | ||
@section('title', __($title)) | ||
<div class="{{ $gridClass ?? '' }} row" > | ||
@foreach($this->fields() as $field) | ||
{{ $field->render()->with($field->data()) }} | ||
@endforeach | ||
</div> | ||
</x-slot> | ||
<x-slot name="content"> | ||
@section('title', __($title)) | ||
<div class="{{ $gridClass ?? '' }} row" > | ||
@foreach($this->fields() as $field) | ||
{{ $field->render()->with($field->data()) }} | ||
@endforeach | ||
</div> | ||
</x-slot> | ||
<x-slot name="footer"> | ||
@foreach($this->buttons() as $button) | ||
{{ $button->render()->with($button->data()) }} | ||
@endforeach | ||
</x-slot> | ||
</x-jet-dialog-modal> | ||
</form> | ||
<x-slot name="footer"> | ||
@foreach($this->buttons() as $button) | ||
{{ $button->render()->with($button->data()) }} | ||
@endforeach | ||
</x-slot> | ||
</x-jet-dialog-modal> | ||
--}} | ||
</form> | ||
</div> |