Tidy up admin cp contact related views

This commit is contained in:
Jonny Barnes 2017-03-02 18:33:52 +00:00
parent e8a71de6b9
commit a1c07f50e8
9 changed files with 8 additions and 8 deletions

View file

@ -0,0 +1,29 @@
@extends('master')
@section('title')
List Contacts « Admin CP
@stop
@section('content')
<h1>Contacts</h1>
<table>
<tr>
<th>Real Name</th>
<th>Nick</th>
<th>Homepage</th>
<th>Twitter</th>
<th>Facebook</th>
<th></th>
</tr>
@foreach($contacts as $contact)
<tr>
<td>{{ $contact->name }}</td>
<td>{{ $contact->nick }}</td>
<td>{{ $contact->homepage }}</td>
<td>{{ $contact->twitter }}</td>
<td>{{ $contact->facebook }}</td>
<td><a href="/admin/contacts/edit/{{ $contact->id }}">edit</a></td>
</tr>
@endforeach
</table>
@stop