Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit b030675

Browse files
committed
Allow custom id and name for form components.
1 parent 800bfa6 commit b030675

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<button type="button" class="btn btn-sm btn-primary"
1+
<button type="button" class="btn btn-sm btn-primary {{ $modal_btn_classes or '' }}"
22
@include('components.tooltip', ['tooltip' => __($label)])
3-
data-toggle="modal" data-target="#{{ $id }}">
3+
@isset($id) data-toggle="modal" data-target="#{{ $id }}" @endisset>
44
@isset($icon) <i class="{{ $icon }}"></i> @endisset
55
@isset($label) {{ __($label) }} @endisset
66
</button>

0 commit comments

Comments
 (0)