@extends('frontend.layouts.app')
@section('title', app_name() . ' | SMS')
@section('content')
    <div class="row">
        <div class="row pb-100"></div>
        <div class="row pb-50"></div>
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">{{ trans('Send SMS') }}</div>
                <div class="panel-body">
                    {{ Form::open(['route' => 'frontend.sms.post', 'class' => '', 'role' => 'form', 'method' => 'get' , 'enctype' => 'multipart/form-data']) }}
                    <div class="control-group">
                        <a class="btn btn-success" href="{{ route('frontend.user.dashboard')}}">Back</a>
                        <div class="title-wrap text-center">
                            <h4 class="section-title fs-20">Remaining SMS: {{$Sid->sms_limit}}</h4>
                        </div>
                        <div class="col-md-12">
                        {{ Form::textGroup('to', trans('validation.attributes.backend.to.to'), 'mobile', ['placeholder' => trans('validation.attributes.backend.to.placehold')]) }}
                        {{ Form::textGroup('message', trans('validation.attributes.backend.to.message'), 'envelope', ['placeholder' => trans('validation.attributes.backend.to.placeholder')]) }}
                        </div>
                            <div class="col-lg-4">
                        </div>
                    </div>
                    <div class="form-group">
                        <div class="col-md-6 col-md-offset-4">
                            {{ Form::submit(trans('Send'), ['class' => 'btn btn-success']) }}
                        </div><!--col-md-6-->
                    </div><!--form-group-->
                    {{ Form::close() }}
                </div><!-- panel body -->
            </div><!-- panel -->
        </div><!-- col-md-8 -->
    </div><!-- row -->
@endsection
@section('after-scripts')

@endsection