ldc-mesbr-app/resources/views/site/index.blade.php
Thibault Richy 8a1054333a init
2019-01-15 14:17:15 +01:00

25 lines
784 B
PHP

@extends('layouts.main')
@section('content')
<h2><i class="fas fa-building"></i> Sites <a href="{{ route('site.create') }}" class="add-button"><i class="fas fa-plus-square"></i> Ajouter</a></h2>
<div class="content-list">
<table>
<thead>
<tr>
<th>{{__('Ref') }}</th>
<th>{{__('Nom') }}</th>
<th>{{__('Contact') }}</th>
</tr>
</thead>
<tbody>
@foreach($sites as $s)
<tr>
<td><a href="{{ route('site.edit', $s) }}">{{ $s->site_id }}</a></td>
<td>{{ $s->site_nom }}</td>
<td>{{ $s->site_contact }}</td>
</tr>
@endforeach
</tbody>
</table>
</div>
@endsection