<?php $__env->startSection('content'); ?>
	
    <?php echo HTML::style('js/signature_pad/assets/jquery.signaturepad.css'); ?>	
    
	<?php $__env->startSection('scripts'); ?>
    <!--[if lt IE 9]><?php echo HTML::script('js/signature_pad/assets/flashcanvas.js'); ?><![endif]-->
    <?php echo HTML::script('js/signature_pad/jquery.signaturepad.min.js'); ?>
    <?php echo HTML::script('js/signature_pad/assets/json2.min.js'); ?>
    <script type="text/javascript">
		$(function() {
			// Write out the complete signature from the database to Javascript
			var sig = <?php echo $signature->signature; ?>;
			$('.sigPad').signaturePad({displayOnly : true, lineColour: '#000', lineTop : 67, lineWidth : 2, lineMargin : 25, penColour : '#007687'}).regenerate(sig);
    	});
    </script>
	<?php $__env->stopSection(); ?>
	
     <p class="head_inner_nav">
        <a href="<?php echo URL::to('admin/orders'); ?>">Orders</a><span>></span> <a href="<?php echo URL::to('admin/orders/'.Request::segment(3).'/signatures'); ?>">Signatures</a>
    </p> 
    
    <h2><?php echo $signature->title; ?></h2>
	
    <p><?php echo $signature->content; ?></p>
    <br />
	<br />
	<div class="sigPad signed">
    	<div class="sigWrapper">
    		<div class="typed"><?php echo $signature->full_name; ?></div>
    		<canvas class="pad" width="408" height="95"></canvas>
    	</div>
	</div>
    <p><?php echo $signature->full_name; ?><br><?php echo date('F j, Y', strtotime($signature->created_at)); ?></p>
	
	
<?php $__env->stopSection(); ?>