Merge pull request #5298 from devansh-webkul/small-fix

Some minor fixes were done
This commit is contained in:
Devansh 2021-11-03 10:51:31 +05:30 committed by GitHub
commit 85bd8656cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -3,7 +3,6 @@
@foreach ($attribute->options as $option)
<span class="checkbox" style="margin-top: 5px;">
<input type="checkbox" name="{{ $attribute->code }}[]" value="{{ $option->id }}" {{ in_array($option->id, explode(',', $product[$attribute->code])) ? 'checked' : ''}}>
</input>
<label class="checkbox-view"></label>
{{ $option->admin_name }}

View File

@ -14,4 +14,4 @@
data-vv-as="&quot;{{ $attribute->admin_name }}&quot;"
{{ in_array($attribute->code, ['url_key']) ? 'v-slugify' : '' }}
{{ $attribute->code == 'name' && ! $product[$attribute->code] ? 'v-slugify-target=\'url_key\'' : '' }}/>
{{ $attribute->code == 'name' && ! $product[$attribute->code] ? 'v-slugify-target=\'url_key\'' : '' }}>