Refactor article getter for descriptions & tags, minor fixes on tags
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
'data' => $article['offers']['semences'],
|
||||
'title' => 'Semence',
|
||||
'model' => 'semences',
|
||||
'bgClass' => 'bg-yellow',
|
||||
])
|
||||
@endif
|
||||
|
||||
@@ -11,6 +12,7 @@
|
||||
'data' => $article['offers']['plants'],
|
||||
'title' => 'Plant',
|
||||
'model' => 'plants',
|
||||
'bgClass' => 'bg-green',
|
||||
])
|
||||
@endif
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
@component('components.card', [
|
||||
'id_card' => $model . '-basket',
|
||||
'title' => $title,
|
||||
'class' => 'mb-3',
|
||||
'class' => 'mb-3 ' . ($bgClass ?? null),
|
||||
])
|
||||
|
||||
@include('components.form.select', [
|
||||
|
||||
Reference in New Issue
Block a user