Commit 33e465b2 authored by King Alex's avatar King Alex

View to display recipe

parent 28d33d77
@extends('templates.template')
@section('content')
<div class = "show">
<div class="show-category">
<p>{{$recipe['category']}}</p>
</div>
<div class="show-title">
<h1>{{$recipe['title']}}</h1>
<div class="createdby">
<p>Par:<a class="underline-link" href="{{ url('profile/'.$recipe['owner_id']) }}">{{ $recipe['owner'] }}</a></p>
</div>
</div>
<div class="show-image">
<img src="{{ $recipe['image_path'] }}">
</div>
<div class="show-introduction">
<p>"{{$recipe['introduction']}}"</p>
</div>
<h3>Ingredients:</h3>
<div class="show-ingredients">
<ul>
@foreach ($recipe['ingredients'] as $ingredient)
<li>{{$ingredient}}</li>
@endforeach
</ul>
</div>
<h3>Instructions:</h3>
<div class="show-description">
<p>{{$recipe['description']}}</p>
</div>
<a href="{{ url('recipe/list') }}"> Retour </a>
</div>
@stop
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment