@extends('backend.layouts.app') @section('title', $contact ? 'Edit Site Contact' : 'Create Site Contact') @section('content') @php $pageTitle = $contact ? 'Edit Site Contact' : 'Create Site Contact'; $indexRoute = 'site-contact.index'; $indexLabel = 'Site Contacts'; $formAction = $contact ? route('site-contact.update', $contact->id) : route('site-contact.store'); $method = $contact ? 'PUT' : 'POST'; @endphp @include('backend.layouts.partials._page_header')

Fill in the contact information below. The frontend footer and contact page will use these values.

@csrf @if($method === 'PUT') @method('PUT') @endif
@error('site_id')

{{ $message }}

@enderror
@error('website_url')

{{ $message }}

@enderror
@error('website_label')

{{ $message }}

@enderror
@error('email')

{{ $message }}

@enderror
@error('phone')

{{ $message }}

@enderror
@error('address')

{{ $message }}

@enderror
{{-- OFFICE HOURS (hidden for now) --}} {{--
@error('office_hours')

{{ $message }}

@enderror
--}}
Cancel
@endsection