first commit
This commit is contained in:
7
resources/views/components/form-buttons.blade.php
Normal file
7
resources/views/components/form-buttons.blade.php
Normal file
@ -0,0 +1,7 @@
|
||||
@props(['editable' => false, 'label' => 'Add', 'href' => '#'])
|
||||
|
||||
<div class="text-end">
|
||||
{{ html()->a($href = $href, $text = 'Cancel')->class('btn btn-light') }}
|
||||
|
||||
{{ html()->button($editable ? 'Update' : $label, 'submit')->class('btn btn-success') }}
|
||||
</div>
|
Reference in New Issue
Block a user