<?php 
	use App\Models\CustomPages; 
	use App\Models\Option; 
?>

<?php $__env->startSection('maincontent'); ?>
	<!-- BEGIN CONTENT-->
	<div id="content">
		<section>
			<div class="section-header ">
				<ol class="breadcrumb">
					<li class="active">Home</li>
					<li class="active">Pages</li>
					<li class="active"><?php echo CustomPages::getcontent("courseEligibilityPageTitle"); ?></li>
				</ol>
			</div>
			<div class="section-body">
				<!-- BEGIN VERTICAL FORM -->
				<div class="row">
					<div class="col-lg-12">
						<h1 class="text-primary"><?php echo CustomPages::getcontent("courseEligibilityPageTitle"); ?></h1>
					</div><!--end .col -->
					
					<div class="clearfix"></div>
					
					<?php if(Session::has('success')): ?> <?php echo HTML::display_success('success'); ?> <?php endif; ?>

					<div class="col-lg-12 col-md-12">
						<?php echo Form::open(["url"=>"admin/pages/aboutus/post","class"=>"form","enctype"=>"multipart/form-data","files"=>true]); ?>

							<div class="panel panel-default">
				        		<div class="panel-body">
				            		<div class="row">
						                <div class="col-md-8 col-lg-8">
							                <div class="form-group <?php if($errors->has('courseEligibilityPageTitle')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityPageTitle",CustomPages::getcontent("courseEligibilityPageTitle"),["class"=>"form-control","placeholder"=>"enter title here"]); ?>

												<?php if($errors->has("courseEligibilityPageTitle")): ?>
													<span id="courseEligibilityPageTitle-error" class="help-block"><?php echo $errors->first("courseEligibilityPageTitle"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityPageTitle","Page Title <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-4 col-lg-4 brd-left">
						                  	<div class="text-right">
						                    	<?php echo e(Form::submit('Save & Publish',['class'=>'btn ink-reaction btn-primary'])); ?>

						                    	<?php
						                    		$data = CustomPages::where("fieldName", "courseEligibilityPageTitle")->first();
						                    	?>
					                    		<?php if($data): ?>
					                    			<p><b>Last Modified:</b>  <?php echo strtoupper($data->updatedByName); ?> (<?php echo date(Option::fetchDateFormat()." ".Option::fetchTimeFormat(),strtotime($data->updated_at)); ?>)</p>
					                    		<?php endif; ?>
						                      
						                  	</div>
						                </div>
				            		</div>
				        		</div>
				        	</div>

				        	<div class="panel panel-default">
				        		<div class="panel-body">
				            		<div class="row">
						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityWidgetOneText')): ?>has-error <?php endif; ?>">
												<?php echo Form::textarea("courseEligibilityWidgetOneText",CustomPages::getcontent("courseEligibilityWidgetOneText"),["class"=>"form-control","placeholder"=>"enter widget one text","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilityWidgetOneText")): ?>
													<span id="courseEligibilityWidgetOneText-error" class="help-block"><?php echo $errors->first("courseEligibilityWidgetOneText"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityWidgetOneText","Widget One Text <span class='text-danger'>*</span>")); ?>

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

				        	<div class="panel panel-default">
				        		<div class="panel-body">
				            		<div class="row">
						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityDuration')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityDuration",CustomPages::getcontent("courseEligibilityDuration"),["class"=>"form-control","placeholder"=>"enter course duration","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilityDuration")): ?>
													<span id="courseEligibilityDuration-error" class="help-block"><?php echo $errors->first("courseEligibilityDuration"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityDuration","Course Duration <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityTiming')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityTiming",CustomPages::getcontent("courseEligibilityTiming"),["class"=>"form-control","placeholder"=>"enter course timing","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilityTiming")): ?>
													<span id="courseEligibilityTiming-error" class="help-block"><?php echo $errors->first("courseEligibilityTiming"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityTiming","Course Timimg <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilitySessionFrequency')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilitySessionFrequency",CustomPages::getcontent("courseEligibilitySessionFrequency"),["class"=>"form-control","placeholder"=>"enter session frequency","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilitySessionFrequency")): ?>
													<span id="courseEligibilitySessionFrequency-error" class="help-block"><?php echo $errors->first("courseEligibilitySessionFrequency"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilitySessionFrequency","Enter Session Frequency <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityEligibility')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityEligibility",CustomPages::getcontent("courseEligibilityEligibility"),["class"=>"form-control","placeholder"=>"enter widget two title","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilityEligibility")): ?>
													<span id="courseEligibilityEligibility-error" class="help-block"><?php echo $errors->first("courseEligibilityEligibility"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityEligibility","Course Eligibility <span class='text-danger'>*</span>")); ?>

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

				        	<div class="panel panel-default">
				        		<div class="panel-body">
				            		<div class="row">
				            			<div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityWidgetThreeTitle')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityWidgetThreeTitle",CustomPages::getcontent("courseEligibilityWidgetThreeTitle"),["class"=>"form-control","placeholder"=>"enter widget three title","rows"=>"4"]); ?>

													<?php if($errors->has("courseEligibilityWidgetThreeTitle")): ?>
													<span id="courseEligibilityWidgetThreeTitle-error" class="help-block"><?php echo $errors->first("courseEligibilityWidgetThreeTitle"); ?></span>
													<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityWidgetThreeTitle","Widget Three Title <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-12 col-lg-12">
							                <div class="form-group <?php if($errors->has('courseEligibilityWidgetThreeSubTitle')): ?>has-error <?php endif; ?>">
												<?php echo Form::text("courseEligibilityWidgetThreeSubTitle",CustomPages::getcontent("courseEligibilityWidgetThreeSubTitle"),["class"=>"form-control","placeholder"=>"enter widget three sub  title","rows"=>"4"]); ?>

												<?php if($errors->has("courseEligibilityWidgetThreeSubTitle")): ?>
													<span id="courseEligibilityWidgetThreeSubTitle-error" class="help-block"><?php echo $errors->first("courseEligibilityWidgetThreeSubTitle"); ?></span>
												<?php endif; ?>
												<?php echo HTML::decode(Form::label("courseEligibilityWidgetThreeSubTitle","Widget Three Sub Title <span class='text-danger'>*</span>")); ?>

											</div>
						                </div>

						                <div class="col-md-12 col-lg-12">
						                	<div class="form-group <?php if($errors->has('courseEligibilityWidgetThreeText')): ?>has-error <?php endif; ?>">
											<?php echo HTML::decode(Form::label("courseEligibilityWidgetThreeText","Widget Three Text <span class='text-danger'>*</span>")); ?>

											<?php echo Form::textarea("courseEligibilityWidgetThreeText",CustomPages::getcontent("courseEligibilityWidgetThreeText"),["class"=>"form-control"]); ?>

												<?php if($errors->has("courseEligibilityWidgetThreeText")): ?>
												<span id="courseEligibilityWidgetThreeText-error" class="help-block"><?php echo $errors->first("courseEligibilityWidgetThreeText"); ?></span>
												<?php endif; ?>
											</div>
						                </div>
				            		</div>
				        		</div>
				        	</div>
				        <?php echo Form::close(); ?>

					</div><!--end .col -->
				</div><!--end .row -->
				<!-- END VERTICAL FORM -->
			</div>
		</section>
	</div><!--end #content-->
	<!-- END CONTENT -->
<?php $__env->stopSection(); ?>

<?php $__env->startSection("script"); ?>
	<?php echo HTML::script('backend/js/bala.js'); ?>

	<?php echo HTML::script('backend/ckeditor/ckeditor.js'); ?>

	<?php echo HTML::script('backend/assets/js/libs/global/iframe-transport.js'); ?>

	<?php echo HTML::script('backend/assets/js/libs/global/jquery-ui.js'); ?>

	<script type="text/javascript">
      	CKEDITOR.replace('courseEligibilityWidgetOneText');
      	CKEDITOR.replace('courseEligibilityWidgetThreeText');
	</script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make("backend/master", \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/adclubmadras/public_html/resources/views/backend/courses/courseEligibility.blade.php ENDPATH**/ ?>