@extends('layouts.master')
@section('content')
<div class="content-wrapper">
    <div class="content-header">
        <div class="container-fluid">
            <div class="row mb-2">
                <div class="col-sm-6">
                    <h1 class="m-0">Add Whatsapp Message</h1>
                </div>
                <div class="col-sm-6">
                    <ol class="breadcrumb float-sm-right">
                        <li class="breadcrumb-item"><a href="{{ route('dashboard') }}">Home</a></li>
                        <li class="breadcrumb-item active">Add Whatsapp Message</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
    <div class="content">
        <div class="container-fluid">
            <div class="row">
                <div class="col-12">
                    <!-- Default box -->
                    <div class="card">
                        <div class="card-header">
                            <!-- <h3 class="card-title">Select Members For </h3> -->
                            <div class="card-tools">
                                <button type="button" class="btn btn-tool" data-card-widget="collapse" title="Collapse">
                                    <i class="fas fa-minus"></i>
                                </button>
                            </div>
                        </div>
                        <div class="card-body">
                            <form method="post" action="{{ route('setting.editwhatsapp_msg') }}" name="form" enctype="multipart/form-data">
                                @csrf

                                <input type='hidden' name="id" value="{{ $data ? $data->id : '' }}">
                                <div class="form-group">
                                    <label for="">Whatsapp Message</label>
                                </div>
                                <textarea name="message" id="message" rows="25" cols="100"
                                        value="{{ $data ? $data->message : '' }}">{{ $data ? $data->message : ''}}</textarea>
                                <div class="card-footer">
                                <button type="submit" class="btn btn-primary" >Submit</button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                <!-- <div class="col-4">
                    <img style="width: 800px;height:800px;" src="https://frenzinsoftwares.com/frenzincrm_help/whatsapp.gif" alt="whatsapp.gif">
                </div> -->
            </div>
        </div>
    </div>
</div>  
@endsection