diff --git a/resources/views/recipes/show.blade.php b/resources/views/recipes/show.blade.php index 7449ba0..7a80e2b 100644 --- a/resources/views/recipes/show.blade.php +++ b/resources/views/recipes/show.blade.php @@ -26,7 +26,16 @@
{{ \App\Support\Number::fractionStringFromFloat($ia->amount) }}
@if($ia->unit)
{{ $ia->unit }}
@endif -
{{ $ia->ingredient->name }}
+
+ @if($ia->ingredient->type === \App\Models\Recipe::class) + + {{ $ia->ingredient->name }} + + @else + {{ $ia->ingredient->name }} + @endif +
@if($ia->detail)
{{ $ia->detail }}
@endif
@endforeach