@extends('layouts.admin')
@section('content')
<div class="page-header"><div class="page-block"><div class="row align-items-center">
    <div class="col-md-12"><ul class="breadcrumb"><li class="breadcrumb-item"><a href="{{ route('admin.dashboard') }}">হোম</a></li><li class="breadcrumb-item"><a href="javascript: void(0)">সেটিংস</a></li><li class="breadcrumb-item" aria-current="page">Group Email</li></ul></div>
    <div class="col-md-12"><div class="page-header-title"><h2 class="mb-0">{{ __('Send Group Email') }}</h2></div></div>
</div></div></div>

@include('includes.admin.form-success')
@include('includes.admin.flash-message')

<form id="geniusform" action="{{route('admin.subscriber.sendemail')}}" method="POST" enctype="multipart/form-data">
    {{csrf_field()}}
    <div class="card">
        <div class="card-header"><h5>{{ __('Email Details') }}</h5></div>
        <div class="card-body">
            <div class="row">
                <div class="col-md-6 mb-3">
                    <label class="form-label">{{ __('Select User Type') }} <span class="text-danger">*</span></label>
                    <select name="type" class="form-control" required>
                        <option value="">{{ __('Choose User Type') }}</option>
                        <option value="0">{{ __('Customers') }}</option>
                        <option value="1">{{ __('Vendors') }}</option>
                    </select>
                </div>
                <div class="col-md-6 mb-3">
                    <label class="form-label">{{ __('Email Subject') }} <span class="text-danger">*</span></label>
                    <input type="text" class="form-control" name="subject" placeholder="{{ __('Email Subject') }}" required>
                </div>
                <div class="col-12 mb-3">
                    <label class="form-label">{{ __('Email Body') }} <span class="text-danger">*</span></label>
                    <textarea class="nic-edit" name="body" placeholder="{{ __('Email Body') }}"></textarea>
                </div>
            </div>
        </div>
    </div>
    <div class="card"><div class="card-body">
        <button class="btn btn-primary" type="submit"><i class="ti ti-send me-1"></i>{{ __('Send Email') }}</button>
    </div></div>
</form>
@endsection