💄 Améliore l'affichage des images

This commit is contained in:
Clement Desmidt 2017-11-13 20:49:56 +01:00
parent ab0b23d257
commit 7e454a06ad

View File

@ -18,9 +18,9 @@
<h2>{{ $deal->getCategory() }}</h2>
<p>id : <strong>{{ $deal->getId() }}</strong> proposée le <strong>{{$deal->getDateCreation()->format('d/m/Y')}}</strong> à <strong>{{ $deal->getPrice() }} </strong></p>
<p>{{ $deal->getBody() }}</p>
<ul>@foreach($deal->getImages() as $image)
<li><img src="{{ $image }}" width="600" /></li>
@endforeach</ul>
<div>@foreach($deal->getImages() as $image)
<img src="{{ $image }}" width="600" />
@endforeach</div>
</div>
<div class="panel-footer"><a href="<?php echo route('deals.list', ['type' => $type]); ?>">Revenir à la liste</a></div>
</div>