Skip to content

Commit

Permalink
fix class attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
luanfreitasdev committed Jan 19, 2022
1 parent 6a3cf6e commit 2ec8d1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/actions.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
@if(isset($ruleSetAttribute['attribute']))
{{ $attributes->merge([$ruleSetAttribute['attribute'] => $ruleSetAttribute['value']])->class($class) }}
@else
class="$class"
class="{{ $class }}"
@endif
>
{!! $ruleCaption ?? $action->caption !!}
Expand Down

0 comments on commit 2ec8d1d

Please sign in to comment.