Fix conditional check for existing tags in tags.blade.php
This commit is contained in:
parent
7717304549
commit
8fab15abd3
@ -26,7 +26,7 @@ class="inline-block w-3 h-3 rounded cursor-pointer stroke-current hover:bg-red-5
|
|||||||
</div>
|
</div>
|
||||||
<x-forms.button type="submit">Add</x-forms.button>
|
<x-forms.button type="submit">Add</x-forms.button>
|
||||||
</form>
|
</form>
|
||||||
@if ($tags->count() > 0)
|
@if (count($tags) > 0)
|
||||||
<h3 class="pt-4">Exisiting Tags</h3>
|
<h3 class="pt-4">Exisiting Tags</h3>
|
||||||
<div>Click to add quickly</div>
|
<div>Click to add quickly</div>
|
||||||
<div class="flex gap-2 pt-4">
|
<div class="flex gap-2 pt-4">
|
||||||
|
Loading…
Reference in New Issue
Block a user