Add Contacts tests
This commit is contained in:
parent
b84f8278b6
commit
ebb13b905f
5 changed files with 50 additions and 6 deletions
|
@ -6,6 +6,6 @@ Contacts «
|
|||
|
||||
@section('content')
|
||||
@foreach($contacts as $contact)
|
||||
@include('templates.contact', ['contact' => $contact])
|
||||
@include('templates.contact', ['contact' => $contact, 'image' => $contact->image])
|
||||
@endforeach
|
||||
@stop
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
@extends('master')
|
||||
|
||||
@section('title')
|
||||
Contacts «
|
||||
Contacts «
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
@include('templates.contact', array('contact' => $contact))
|
||||
@include('templates.contact', ['contact' => $contact, 'image' => $image])
|
||||
@stop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue