progress
This commit is contained in:
@@ -13,7 +13,12 @@
|
||||
<div class="movie-card">
|
||||
<a href="{{ route('movie.show', $movie->slug) }}" title="{{ $movie->title }}">
|
||||
<img
|
||||
src="http://image.tmdb.org/t/p/w185/{{ $movie->poster_path }}"
|
||||
src="
|
||||
@if($movie->poster_path)
|
||||
http://image.tmdb.org/t/p/w185/{{ $movie->poster_path }}
|
||||
@else
|
||||
/img/no_poster.png
|
||||
@endif"
|
||||
alt="{{ $movie->title }}"
|
||||
title="{{ $movie->title }} @if($movie->release_date) ({{ $movie->release_date->format('Y') }}) @endif"
|
||||
class="img img-fluid"
|
||||
|
||||
Reference in New Issue
Block a user