%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/car_rent/resources/views/admin/
Upload File :
Create Path :
Current File : /var/www/html/car_rent/resources/views/admin/rightsectionsForm.php

<?php echo View::make('partials.header') ?>

<div class="row">
	<form class="form-horizontal col-md-6" action="/rightsections" method="post">
		<?php $model = isset($model)?$model:[]; ?>
		<h2>Create/Edit Right Sections </h2></br>
		
		<?php if (count($errors) > 0) { ?>
			<div class="alert alert-danger">
				<ul>
					<?php foreach ($errors->all() as $error){ ?>
						<li><?php echo $error; ?></li>
					<?php } ?>
				</ul>
			</div>
		<?php } ?>
		
		<!-- FORM INPUTS start -->
		
		<div class="form-group">
			<label for="section_name" class="col-md-3 control-label">Section Name</label>
			<div class="col-md-5">
				<input type="input" name="section_name" id="section_name" value="<?php echo isset($model['section_name'])?$model['section_name']:''; ?>" class="form-control" placeholder="Section name">
			</div>
		</div>
		<div class="form-group">
			<label for="description" class="col-sm-3 control-label">Description</label>
			<div class="col-sm-9">
				<input type="input" name="description" id="description" value="<?php echo isset($model['description'])?$model['description']:''; ?>" class="form-control" placeholder="Description">
			</div>
		</div>
		<div class="form-group">
			<label for="id_module" class="col-sm-3 control-label">Id Module</label>
			<div class="col-sm-9">
				<input type="input" name="id_module" id="id_module" value="<?php echo isset($model['id_module'])?$model['id_module']:''; ?>" class="form-control" placeholder="Id module">
			</div>
		</div>
		
		<!-- FORM INPUTS end -->
		
		
		<?php if(isset($model['id'])): ?>
			<input type="hidden" name="id" value="<?php echo $model['id']; ?>">		
		<?php endif; ?>
		<input type="hidden" name="_token" value="<?php echo csrf_token(); ?>">		
		<div class="form-group">
			<div class="col-md-offset-3 col-sm-8">
				<button type="submit" class="btn btn-primary">Save Changes</button>
			</div>
		</div>
	</form>
</div>


<?php echo View::make('partials.footer') ?>

Zerion Mini Shell 1.0