@extends('admin.layouts.app')
@section('panel')
    @push('topBar')
        @include('admin.notification.top_bar')
    @endpush
    <div class="row">
        @include('admin.notification.global_template_nav')
        @include('admin.notification.global_shortcodes')

        <div class="col-md-12">
            <div class="card mt-5">
                <div class="card-body">
                    <form action="{{ route('admin.setting.notification.global.sms.update') }}" method="POST">
                        @csrf
                        <div class="row">
                            <div class="col-md-12">
                                <div class="form-group">
                                    <label>@lang('SMS Sent From') </label>
                                    <input class="form-control" placeholder="@lang('SMS Sent From')" name="sms_from" value="{{ gs('sms_from') }}" required>
                                </div>
                            </div>

                            <div class="col-md-12">
                                <div class="form-group">
                                    <label>@lang('SMS Body') </label>
                                    <textarea class="form-control" rows="4" placeholder="@lang('SMS Body')" name="sms_template" required>{{ gs('sms_template') }}</textarea>
                                </div>
                            </div>
                        </div>
                        @can('admin.setting.notification.global.sms.update')
                            <button type="submit" class="btn w-100 btn--primary h-45">@lang('Submit')</button>
                        @endcan
                    </form>
                </div>
            </div><!-- card end -->
        </div>

    </div>
@endsection
