Skip to content

Commit

Permalink
Fix attributes error (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade-GG authored May 6, 2024
1 parent efefc8d commit c1eb172
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<x-rapidez-ct::input.checkbox {{ $attributes->merge([
<x-rapidez-ct::input.checkbox :attributes="$attributes->merge([
'class' => 'relative flex w-full cursor-pointer !items-start rounded border bg-white p-7',
'id' => $id,
'v-on:change' => '() => {
if (typeof mutate === \'function\') { mutate() }
if ($root.loggedIn) { $root.user.extension_attributes.is_subscribed=variables.is_subscribed }
}'
]) }}>
])">
<x-slot:slot class="ml-2 flex flex-col gap-1">
<span class="text-ct-primary text-sm font-medium">@lang('Yes, I want to subscribe to the newsletter')</span>
<span class="text-ct-inactive text-xs font-normal">@lang('You will receive this newsletter approximately 2x a year')</span>
<x-rapidez-ct::newsletter-visual />
</x-slot:slot>
</x-rapidez-ct::input.checkbox>
</x-rapidez-ct::input.checkbox>

0 comments on commit c1eb172

Please sign in to comment.