@extends('admin.layouts.app')

@section('title')
    Contact Us Update
@endsection



@section('content')
    {{-- table list starts --}}
    <div class="block-content block-content-full">
        <form action="{{ route('admin.contact.update', $contact->id) }}" method="post" enctype="multipart/form-data">
            @csrf
            @method('PUT')
            <div>
                <label>Title:</label>
                <input class="form-control" name="title" value="{{ $contact->title }}">
            </div>
            <div>
                <label>Bangla Title:</label>
                <input class="form-control" name="bn_title" value="{{ $contact->bn_title }}">
            </div>

            <div>
                <label>Description:</label>
                <textarea class="form-control" name="description" cols="30" rows="10">{{ $contact->description }}</textarea>
            </div>
            <div>
                <label>Bangla Description:</label>
                <textarea class="form-control" name="bn_description" cols="30" rows="10">{{ $contact->bn_description }}</textarea>
            </div>
            <div>
                <label>Contact Phone :</label>
                <input class="form-control" name="contact_phone" value="{{ $contact->contact_phone }}"
                    placeholder="Write a contact phone">
            </div>
            <div>
                <label>Contact Email :</label>
                <input class="form-control" name="contact_email" value="{{ $contact->contact_email }}"
                    placeholder="Write a contact email">
            </div>
            <div>
                <label>Contact Map Link :</label>
                <input class="form-control" name="contact_map_link" value="{{ $contact->contact_map_link }}"
                    placeholder="Write a contact email">
            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-primary">update changes</button>
            </div>
        </form>
    </div>
    </div>
@endsection
