diff --git a/resources/views/recipes/show.blade.php b/resources/views/recipes/show.blade.php index b7f23e8..8c75983 100644 --- a/resources/views/recipes/show.blade.php +++ b/resources/views/recipes/show.blade.php @@ -26,6 +26,22 @@ {{ implode(', ', $recipe->tags->pluck('name')->all()) }} @endif + @if($recipe->time_total > 0) + + + Prep time + {{ $recipe->time_prep }} minutes + + + Active time + {{ $recipe->time_active }} minutes + + + Total time + {{ $recipe->time_total }} minutes + + + @endif @if($recipe->description) Description
{{ $recipe->time_prep }} minutes
{{ $recipe->time_active }} minutes
{{ $recipe->time_total }} minutes