<?php $__env->startSection('css'); ?>
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
<?php $__env->stopSection(); ?>



<?php $__env->startSection('page_header'); ?>
    <h1 class="page-title">
        <i class="icon voyager-people"></i>
        
        <?php echo e(__('voyager::generic.SendEmail')); ?>

    </h1>
    <?php echo $__env->make('voyager::multilingual.language-selector', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('content'); ?>

<?php $__env->startSection('content'); ?>

<div class="page-content edit-add container-fluid">
    <div class="row">
        <div class="col-md-12">
            <div class="panel panel-bordered">

<?php if(Session::has('success')): ?>
   <div class="alert alert-success">
     <?php echo e(Session::get('success')); ?>

   </div>
<?php endif; ?>

<?php echo Form::open(['route'=>'voyager.lawyers.postmail', 'class'=>'form-edit-add']); ?>


<div class="panel-body">
    
<div class="form-group col-md-12 <?php echo e($errors->has('subject') ? 'has-error' : ''); ?>">
        <?php echo Form::label('subject',  'موضوع الرسالة' , ['class'=>'control-label']); ?>

        <?php echo Form::text('subject', old('subject'), ['class'=>'form-control', 'placeholder'=> 'موضوع الرسالة' ]); ?>

    <span class="text-danger"><?php echo e($errors->first('subject')); ?></span>
</div>


<?php echo e(Form::hidden('lawyer_id', $id )); ?>


<div class="form-group col-md-12 <?php echo e($errors->has('message') ? 'has-error' : ''); ?>">
    <?php echo Form::label('message',  ' الرسالة' , ['class'=>'control-label']); ?>

    <?php echo Form::textarea('message', old('message'), ['class'=>'form-control', 'placeholder'=>'الرسالة']); ?>

    <span class="text-danger"><?php echo e($errors->first('message')); ?></span>
</div>

<div class="form-group col-md-12">
<button class="btn btn-success"> إرسال الرسالة </button>
</div>

</div>
<?php echo Form::close(); ?>


</div>
</div>
</div>
</div>

<?php $__env->stopSection(); ?>


<?php echo $__env->make('voyager::master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/khadamatisources/public_html/resources/views/vendor/voyager/lawyers/contact.blade.php ENDPATH**/ ?>