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

<div class="row">
                	<div id="breadcrumb" class="col-xs-12">
                		<a href="#" class="show-sidebar">
                			<i class="fa fa-bars"></i>
                		</a>
                		<ol class="breadcrumb pull-left">
                			<li><a href="<?php echo e(route('visitor.index')); ?>">Visitors</a></li>
                			<li><a href="#">Profile</a></li>
                		</ol>
                	</div>
                </div>


<div class="row">
        	<div class="col-xs-12 col-sm-12">
        		<div class="box">
        			<div class="box-header">
        				<div class="box-name">
        					<i class="fa fa-user"></i>
        					<span>Visitor</span>
        				</div>
        				<div class="box-icons">
        					<a class="collapse-link">
        						<i class="fa fa-chevron-up"></i>
        					</a>
        				</div>
        				<div class="no-move"></div>
        			</div>
        			<div class="box-content">
        				<h4 class="page-header">Profile</h4>
        				<div class="form-horizontal" role="form">
        					<div class="form-group">
        						<label class="col-sm-2 control-label">First name</label>
        						<div class="col-sm-4">
        							<label class="form-control"><?php echo e($visitor->first_name); ?></label>
        						</div>
        						<label class="col-sm-2 control-label">Last name</label>
        						<div class="col-sm-4">
        							<label class="form-control"><?php echo e($visitor->last_name); ?></label>
        						</div>
        					</div>
        					<div class="form-group">
                                <label class="col-sm-2 control-label">CIN</label>
                                <div class="col-sm-4">
                                    <label class="form-control"><?php echo e($visitor->cin); ?></label>
                                </div>
                                <label class="col-sm-2 control-label">Date Visit</label>
                                <div class="col-sm-4">
                                    <label class="form-control"><?php echo e($visitor->date_visit->toDateString()); ?></label>
                                </div>
                            </div>
        					<div class="form-group">
        						<label class="col-sm-2 control-label">Phone number</label>
        						<div class="col-sm-4">
        							<label class="form-control"><?php echo e($visitor->mobile); ?></label>
        						</div>
        						<label class="col-sm-2 control-label">Email</label>
        						<div class="col-sm-4">
        							<label class="form-control"><?php echo e($visitor->email); ?></label>
        						</div>
        					</div>
        					<div class="form-group">
                                <div class="col-sm-offset-2 col-sm-2">
                            	    <a  href="<?php echo e(route('visitor.edit' , $visitor)); ?>" class="btn btn-info btn-label-left">
                            		<span><i class="fa fa-edit "></i></span>
                            		    Edit
                            		</a>
                            	</div>
                            	<?php echo Form::open(array('method' => 'DELETE', 'route' => array('visitor.destroy' , $visitor))); ?>

                            	    <div class="col-sm-2">
                                        <button type="submit" class="btn btn-danger btn-label-left">
                                        <span><i class="fa fa-trash"></i></span>
                                            Delete
                                        </button>
                                    </div>
                                <?php echo Form::close(); ?>

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

<?php $__env->stopSection(); ?>
<?php echo $__env->make('../shared/default', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>