 
<?php $__env->startSection('content'); ?>
			<div class="row">
		    	<div class="col-lg-12">
		    		<h4 class="page-header">Project: <?php echo e($project->company_name); ?> (<?php echo e($project->service_city); ?>)</h4><span class="hidden-xs hidden-sm accordion-ts" >Project last updated by <?php echo e($project->updated_by); ?> @ <?php echo e(date('g:i:s A - F j, Y', strtotime($project->updated_at))); ?></span>
		    	</div>
		    </div>
            <div class="row">
                <div class="col-lg-12">
                	<?php if(session('status')): ?>
					<div class="alert alert-success">
						<?php echo e(session('status')); ?>

					</div>
					<?php endif; ?>
					<?php if(count($errors) > 0): ?>
						<div class="alert alert-danger">
							<strong>Whoops!</strong> There were some problems with your input.<br><br>
							<ul>
								<?php foreach($errors->all() as $error): ?>
									<li><?php echo e($error); ?></li>
								<?php endforeach; ?>
							</ul>
						</div>
					<?php endif; ?>
				</div>
			</div> 
			<div class="xrow">
			  		<div class="panel panel-default">
						<div class="panel-heading">
                           Edit Project Note -- Last updated by <?php echo e($note->modified_by); ?> @ <?php echo e(date('g:i:s A - F j, Y', strtotime($note->updated_at))); ?> &nbsp;&nbsp;
                           <div class="delete" style="display: inline;">
								<form method="POST" action="<?php echo e(url('admin/projects/note/delete')); ?>" 
									onsubmit="return confirm('Are you sure you want to delete this note?')" 
									style="display: inline;">
									<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
									<input type="hidden" name="projectID" value="<?php echo e($project->id); ?>">
									<input type="hidden" name="noteID" value="<?php echo e($note->id); ?>">
									<button type="submit" style="border: none; background-color: transparent; padding: 0; color: black; display: inline;">
										&nbsp;<i class="fa fa-trash" style="display: inline;"></i>
									</button>
								</form>
							</div>
                           <i class="hidden-xs hidden-sm" style="float: right;"><?php echo e(\App\Team::find($note->team)->name); ?></i>			
                        </div>
                        <div class="panel-body">
                            <div class="row">
                                <div class="col-lg-12">
				                    <form id="theForm" class="form-horizontal" role="form" method="POST" enctype="multipart/form-data" action="<?php echo e(url('admin/projects/note/edit')); ?>">
										<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
										<input type="hidden" name="projectID" value="<?php echo e($project->id); ?>">
										<input type="hidden" name="noteID" value="<?php echo e($note->id); ?>">
										<div class="form-group">
											<div class="col-sm-12 col-md-10 morePadding morePadding2">
												<textarea class="form-control" id="note" name="note" title="Note" placeholder="Note" rows="4"><?php echo e(old('note') ? old('note') : $note->note); ?></textarea>
											</div>
											<div class="col-sm-12 col-md-2 morePadding morePadding2">
												<button type="submit" class="btn btn-primary" style="float: right;">
													Update
												</button>
											</div>
										</div>
									</form>
								</div>
							</div>
						</div>
					</div>
			</div>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('extras'); ?>
	<style>
		.accordion-ts {float: right; color: #888; margin-top: -20px; font-weight: normal; font-size: 14px;}
	</style>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('residential.templates.uadmin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>