Files
opensem/resources/views/Shop/Shelves/shelve.blade.php
2023-02-05 22:57:47 +01:00

46 lines
1.3 KiB
PHP

@extends('Shop.layout.layout', [
'title' => __('home.title'),
])
@section('content')
{{ Form::open(['id' => 'category-form', 'autocomplete' => 'off']) }}
<input type="hidden" id="display_by_rows" name="display_by_rows" value="{{ $display_by_rows ?? false }}">
<input type="hidden" id="product_type" name="product_type" value="{{ $product_type ?? false }}">
<input type="hidden" id="article_nature" name="article_nature" value="{{ $article_nature ?? false }}">
<div class="row mb-3">
<div class="col-9">
@include('Shop.Shelves.partials.breadcrumb')
</div>
<div class="col-3 text-right">
@include('Shop.Shelves.partials.display-type')
</div>
</div>
<div class="row">
<div class="col-3">
@include('Shop._partials.display_filters')
</div>
<div class="col-9">
@include('Shop.Shelves.partials.category_add')
</div>
</div>
<div class="row">
<div class="col-12">
<h3 style="font-size: 1.2em;">{!! $category['description'] !!}</h3>
</div>
</div>
@include('Shop.Tags.partials.filter')
@if ($display_by_rows ?? false)
@include('Shop.Shelves.partials.category_articles_rows')
@else
@include('Shop.Shelves.partials.category_articles')
@endif
{{ Form::close() }}
@endsection
@include('load.layout.modal')