<div class="row mb-3">
	<div class="col-sm-6 mb-3">
		<label>Select Page for Menu<span style="color:#ff0000;">*</span></label>
		<select class="form-control bg-light border-0" id="page" name="page" required>
		<option value="">Select</option>
		<?php foreach($pages as $pg){ ?>
		<option value="<?php echo $pg->page_name;?>" <?php echo !empty($edit[0]->page_name) ? $edit[0]->page_name == $pg->page_name ? "selected" : "": "";?>><?php echo $pg->page_name;?></option>
		<?php } ?>
		</select>
		<input type="hidden" name="id" id="id" value="<?php echo !empty($edit[0]->id) ? $edit[0]->id : "";?>"/>											

	</div>
	<div class="clearfix"></div>
	<div class="col-sm-6 mb-3">
		<label>Menu Sort Order<span style="color:#ff0000;">*</span></label>
	    <input type="number" name="menu_order" id="menu_order" value="<?php echo !empty($edit[0]->menu_order) ? $edit[0]->menu_order : "";?>" class="form-control" required />											
	</div>
	<div class="clearfix"></div>
</div>
