@extends('admin.layouts.app')

@section('title')
    About Update
@endsection



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

            <div>
                <label>Description:</label>
                <textarea class="form-control" name="description" cols="30" rows="10">{{ $about->description }}</textarea>
            </div>
            <div>
                <label>Bangla Description:</label>
                <textarea class="form-control" name="bn_description" cols="30" rows="10">{{ $about->bn_description }}</textarea>
            </div>
                <div>
                <label>Image:</label>
                <input class="form-control" name="image" type="file">
                <img src="{{ asset($about->image) }}" alt="" style="height:80px;" class="img-fluid">
            </div>
            <div class="modal-footer">
                <button type="submit" class="btn btn-primary">update changes</button>
            </div>
        </form>
    </div>
    </div>
@endsection
