25 lines
784 B
PHP
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
|