@extends('layouts.contentLayoutMaster') {{-- page title --}} @section('title','Lista de Estabelecimentos') {{-- vendor style --}} @section('vendor-styles') @endsection {{-- page style --}} @section('page-styles') @endsection @section('content')
Adicionar Estabecimento
@if ($message = Session::get('success'))
{{ $message }}
@endif @if (count($errors) > 0)
Ops! Ouve algum problema.
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @foreach ($hospitals as $hospital) @endforeach
ID Nome Telefone Contato Cidade E-mail Editar
{{ $hospital->id }} {{ $hospital->name }} {{ $hospital->phone }} {{ $hospital->contact }} {{ $hospital->city }} {{ $hospital->email }}
@csrf @method('DELETE')
@endsection {{-- vendor scripts --}} @section('vendor-scripts') @endsection {{-- page scripts --}} @section('page-scripts') @endsection