@extends('layouts.app')
@section('title', 'Add Contact')

@section('content')
<div class="card"><div class="card-body">
    <h6 class="card-title mb-3">Add Contact</h6>
    @if($errors->any())<div class="alert alert-danger">Please fix the errors below.
        <ul>
            @foreach($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>

    </div>@endif
    @include('contacts.form')
</div>
</div>

@endsection
