<?php $__env->startSection('content'); ?>
	<div class="row">
		<div class="col-md-6 col-md-offset-3">
			<div class="login-panel panel panel-default">
				<div class="panel-heading">
                        <h3 class="panel-title">uAdmin App Feedback</h3>

					</div>
				<div class="panel-body">
						<p style="color:gray;"><small><em>Our app development is ongoing and collaborative. We welcome feature requests. Please use this form to submit feedback about the app you use. Please be very descriptive. </em></small></p>
					<?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; ?>

					<form class="form-horizontal" role="form" method="POST" action="<?php echo e(url('admin/feature_request')); ?>">
						<input type="hidden" name="_token" value="<?php echo e(csrf_token()); ?>">
						<input type="hidden" name="userID" value="<?php echo e(Auth::user()->id); ?>">
						
						<div class="form-group">
							<div class="col-md-12">
								<select class="form-control" name="app">
									<option value="">Select App</option>
									<option value="Projects">Projects App</option>
									<option value="Conversions">Digital Conversions App</option>
									<option value="Orders">Residential Orders App</option>
								</select>
							</div>
						</div>
						<div class="form-group">
							<div class="col-md-12">
								<textarea class="form-control" name="summary" placeholder="Feedback Summary" rows="8" style="width: 100%;"><?php echo e(old('summary')); ?></textarea>
							</div>
						</div>

						<div class="form-group">
							<div class="col-md-12 col-md-offset-0">
								<button type="submit" class="btn btn-primary">
									Submit
								</button>
							</div>
						</div>
					</form>
					
				</div>
			</div>
		</div>
	</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('residential.templates.uadmin', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>