Skip to content

Commit

Permalink
Merge pull request #4 from codions/bugfix/jet-dialog-modal
Browse files Browse the repository at this point in the history
Modal form component temporarily removed
  • Loading branch information
fabioassuncao authored Aug 28, 2023
2 parents e15d59c + 0e19e71 commit 4fcc6cf
Showing 1 changed file with 22 additions and 21 deletions.
43 changes: 22 additions & 21 deletions resources/views/modal-form-component.blade.php
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>

0 comments on commit 4fcc6cf

Please sign in to comment.