Add toggle by rows/by cards

This commit is contained in:
Ludovic CANDELLIER
2022-01-23 23:16:56 +01:00
parent 52019357ba
commit 3e26bf368b
5 changed files with 33 additions and 11 deletions

View File

@@ -17,7 +17,11 @@
@include('Shop.layout.partials.category_add')
</div>
</div>
@include('Shop.layout.partials.category_articles')
@if ($display_by_rows ?? false)
@include('Shop.layout.partials.category_articles_rows')
@else
@include('Shop.layout.partials.category_articles')
@endif
</div>
</div>
@endsection