{{ $recipe->name }}

@if($recipe->tags)
Tags: {{ implode(', ', $recipe->tags->pluck('name')->all()) }}
@endif @if($recipe->source)
Source: {{ $recipe->source }}
@endif

Description

{{ $recipe->description }}

Ingredients

@foreach($recipe->ingredientAmounts as $ia)
{{ \App\Support\Number::fractionStringFromFloat($ia->amount) }}
@if($ia->unit)
{{ $ia->unit }}
@endif
@if($ia->ingredient->type === \App\Models\Recipe::class) {{ $ia->ingredient->name }} @else {{ $ia->ingredient->name }} @endif
@if($ia->detail)
{{ $ia->detail }}
@endif
@endforeach

Steps

@foreach($recipe->steps as $step)
{{ $step->number }}
{{ $step->step }}
@endforeach