
<?php $__env->startSection('content'); ?>
<div class="row">
	<div class="col-md-6">
		<div class="panel panel-default">
			<div class="panel-heading">
				<div class="panel-title" >
					<?php echo e(_lang('Update Room')); ?>

				</div>
			</div>
			<div class="panel-body">
				<form action="<?php echo e(route('sections.update',$section->id)); ?>" autocomplete="off" class="form-horizontal form-groups-bordered validate" enctype="multipart/form-data" method="post" accept-charset="utf-8">
					<?php echo csrf_field(); ?>
					<?php echo e(method_field('PATCH')); ?>

					<div class="form-group">
					    <div class="col-sm-12">
						    <label class="control-label"><?php echo e(_lang('Name')); ?></label>
							<input type="text" class="form-control" name="section_name" value="<?php echo e($section->section_name); ?>" required>
						</div>
					</div>
					
					<div class="form-group">
					    <div class="col-sm-12">
						    <label class="control-label">Floor</label>
							<select name="class_id" class="form-control select2" required>
								<option value="">Select One</option>
								<?php echo e(create_option('classes','id','class_name',$section->class_id)); ?>

							</select>
						</div>
					</div>
					
					<div class="form-group">
					    <div class="col-sm-12">
						    <label class="control-label"><?php echo e(_lang('Capacity')); ?></label>						
							<input type="number" class="form-control" min="1" name="capacity" value="<?php echo e($section->capacity); ?>" required>
						</div>
					</div>
					
					<div class="form-group">
					    <div class="col-sm-12">
						    <label class="control-label"><?php echo e(_lang('Room No/Name')); ?></label>						
							<input type="text" class="form-control" name="room_no" value="<?php echo e($section->room_no); ?>">
						</div>
					</div>

					<div class="form-group">
					    <div class="col-sm-12">
						    <label class="control-label"><?php echo e(_lang('Room Rent')); ?></label>						
							<input type="text" class="form-control" name="room_rent" value="<?php echo e($section->room_rent); ?>">
						</div>
					</div>
					
					<div class="form-group">
						<div class="col-sm-12">
							<button type="submit" class="btn btn-info"><?php echo e(_lang('Update Room')); ?></button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.backend', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\hostel\resources\views/backend/sections/section-edit.blade.php ENDPATH**/ ?>