From 3580895e0587dbda0803cfa8eac994a144cc7406 Mon Sep 17 00:00:00 2001 From: samy Date: Tue, 17 Jun 2025 15:23:58 -1000 Subject: [PATCH] Add some examples --- .idea/blade.xml | 1 + src/View/blade-form-example.blade.php | 126 ++++++++++++++++++++ src/View/confirm-modal-example.blade.php | 26 +++++ src/View/livewire-form-example.blade.php | 140 +++++++++++++++++++++++ 4 files changed, 293 insertions(+) create mode 100644 src/View/blade-form-example.blade.php create mode 100644 src/View/confirm-modal-example.blade.php create mode 100644 src/View/livewire-form-example.blade.php diff --git a/.idea/blade.xml b/.idea/blade.xml index c1971c7..bc0c53c 100644 --- a/.idea/blade.xml +++ b/.idea/blade.xml @@ -22,6 +22,7 @@ + diff --git a/src/View/blade-form-example.blade.php b/src/View/blade-form-example.blade.php new file mode 100644 index 0000000..693fe29 --- /dev/null +++ b/src/View/blade-form-example.blade.php @@ -0,0 +1,126 @@ +{{-- A blade form example --}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/View/confirm-modal-example.blade.php b/src/View/confirm-modal-example.blade.php new file mode 100644 index 0000000..ee979e5 --- /dev/null +++ b/src/View/confirm-modal-example.blade.php @@ -0,0 +1,26 @@ +{{--A normal URL modal--}} + + Button text + + +{{--A modal building a form and reaching the action with a method--}} + + Button text + \ No newline at end of file diff --git a/src/View/livewire-form-example.blade.php b/src/View/livewire-form-example.blade.php new file mode 100644 index 0000000..1516f4f --- /dev/null +++ b/src/View/livewire-form-example.blade.php @@ -0,0 +1,140 @@ +{{-- A livewire form example --}} +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file