Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 5, 2024
1 parent e5ae177 commit a8c05e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 3 additions & 4 deletions resources/views/embed.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
<div class="w-1/2 mx-auto">
<h3>Embed with LW</h3>
@php
$form = \LaraZeus\Bolt\Models\Form::first();
$office = \LaraZeus\Thunder\Models\Office::first();
$form = \LaraZeus\Bolt\Models\Form::first()
@endphp
@if($form !== null)
<livewire:bolt.fill-form
:extensionSlug="$office"
:slug="$office->form->slug"
extensionSlug="printers-department"
slug="printer-issues"
:inline="true"
/>
@endif
Expand Down
7 changes: 5 additions & 2 deletions resources/views/filament/pages/bolt.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<div>
@php
$form = \LaraZeus\Bolt\Models\Form::first();
@endphp
<livewire:bolt.fill-form
slug="printers-department-text"
extensionSlug="printers-department-text"
extensionSlug="printers-department"
slug="printer-issues"
inline="true"
/>
</div>

0 comments on commit a8c05e9

Please sign in to comment.