@foreach($recipes as $recipe)
{{ ucwords($recipe->title) }}
Food Item
Quantity
@php $ingredients = json_decode($recipe->ingredients); @endphp @if( count($ingredients) > 0 ) @foreach( $ingredients as $key => $value )
{{ $value->food_item }}
{{ $value->quantity }}
@endforeach @endif
Serving Size:
{{ $recipe->serving_size }}
Procedure:
{!!html_entity_decode($recipe->recipe_procedure)!!}
Nutritional Info:
@php $nutritional_value = json_decode($recipe->nutritional_value); @endphp @if( count($nutritional_value) > 0 ) @foreach( $nutritional_value as $key => $value )
{{ $value->nutrition }}
{{ $value->nutrition_val }}
@endforeach @endif
@endforeach