v1.0.0 initial release
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@props([
|
||||
'label' => 'Submit',
|
||||
'cancel' => null,
|
||||
'cancelLabel' => 'Cancel',
|
||||
])
|
||||
|
||||
@if ($cancel)
|
||||
<div class="flex flex-col md:flex-row mt-3 gap-3">
|
||||
<a href="{{ $cancel }}" class="btn btn-ghost w-full md:w-1/2">
|
||||
{{ $cancelLabel }}
|
||||
</a>
|
||||
|
||||
<button type="submit" class="btn btn-primary w-full md:w-1/2">
|
||||
{{ $label }}
|
||||
</button>
|
||||
</div>
|
||||
@else
|
||||
<div class="mt-3">
|
||||
<button type="submit" class="btn btn-primary w-full">
|
||||
{{ $label }}
|
||||
</button>
|
||||
</div>
|
||||
@endif
|
||||
Reference in New Issue
Block a user