This commit is contained in:
Mathieu Lagace
2019-09-03 16:42:45 -04:00
parent dda94c1b7c
commit fbd644fd8a
24 changed files with 1123 additions and 259 deletions

View File

@@ -23,9 +23,9 @@
@foreach ($news as $new)
<div class="col-md-4">
<h3>{{ $new->title }}</h3>
<p class="news-body-small">
{{ $new->body }}
</p>
<div class="news-body-small">
{!! $new->body !!}
</div>
<span class="news-small">{{ \App\User::find($new->user_id)->fullname()}}, {{ $new->created_at }}</span>
<a name="news" id="news" class="btn btn-block btn-secondary mt-2" href="/news/{{ $new->id }}" role="button">Voir plus!</a>
</div>