Skip to content

Commit c2c73ef

Browse files
committed
use the filament button component
1 parent 766114c commit c2c73ef

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

resources/views/livewire/filament-form/show.blade.php

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<div class="p-16 flex flex-row justify-center fb-form-component filament-form-builder">
1+
<div class="flex flex-row justify-center p-16 fb-form-component filament-form-builder">
22
<div class="max-w-[600px] min-w-[400px] rounded-xl border-2 p-4 fb-form-container">
3-
<h1 class="font-bold text-xl mb-2">
3+
<h1 class="mb-2 text-xl font-bold">
44
{{ $this->filamentForm->name }}
55
</h1>
66
<p class="mb-4">
@@ -10,12 +10,9 @@
1010
@csrf
1111
{{ $this->form }}
1212

13-
<button
14-
type="submit"
15-
class="filament-form-builder fb-form-submit-button bg-emerald-400 hover:bg-emerald-600 hover:scale-[1.03] shadow-lg px-2 py-1 mt-4 rounded-md text-white"
16-
>
13+
<x-filament::button type="submit">
1714
Submit
18-
</button>
15+
</x-filament::button>
1916
</form>
2017

2118
<x-filament-actions::modals />

0 commit comments

Comments
 (0)