<?php  $this->load->view('master/common/header.php',$data);
$base_name = $data['base_name'];
?>

    <div class="content">
        
        <!-- Start Content-->
        <div class="container-fluid">
            
            <!-- start page title -->
            <div class="row">
                <div class="col-12">
                    <div class="page-title-box">
                        <div class="page-title-right">
                            <ol class="breadcrumb m-0">
                                <li class="breadcrumb-item"><a href="javascript: void(0);"><?= $base_name;?></a></li>
                                <li class="breadcrumb-item active text-capitalize"><?= $page;?></li>
                            </ol>
                        </div>
                        <h4 class="page-title text-uppercase"><?= $page;?></h4>
                    </div>
                </div>
            </div>     
            <!-- end page title --> 

            <div class="row">
                <div class="col-md-10 col-xl-8">
                    <div class="card-box">
                        <div class="row">
                            <div class="col-sm-12">
                                <form class="form-horizontal" action="<?= base_url('master/dynamic/edit/'.$contact['id']);?>" method="post" enctype="multipart/form-data">
                                    <input type="hidden" name="table" value="tbl_page" />
                                    <input type="hidden" name="page" value="dynamic/contact" />
                                    
                                    <h4 class="header-title mb-4">Contact Us</h4>
                                    
                                    <div class="form-group">
                                        <label for="userName">Meta Title <span class="text-danger">*</span></label>
                                        <input type="text" name="contact_meta_title" required="" value="<?=$contact['contact_meta_title'];?>" class="form-control" />
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="userName">Meta Keyword  <span class="text-danger">*</span></label>
                                        <textarea type="text" name="contact_meta_keyword" required class="form-control" ><?=$contact['contact_meta_keyword'];?></textarea>
                                    </div>
                                    <div class="form-group">
                                        <label for="userName">Meta Description  <span class="text-danger">*</span></label>
                                        <textarea type="text" name="contact_meta_description" required class="form-control" ><?=$contact['contact_meta_description'];?></textarea>
                                    </div>
                                    
                                    <div class="form-group">
                                        <label for="userName">Title <span class="text-danger">*</span></label>
                                        <input type="text" name="contact_title" required="" value="<?=$contact['contact_title'];?>" class="form-control" />
                                    </div>
                                    
                                    <div class="form-group">
                                        <button type="submit" class="btn btn-success float-right m-2">Update</button>
                                    </div>
                                
                                </form>
				            </div>
					    </div>
					</div>
				</div>
				<!-- /.col-md-6 -->
			</div>
			<!-- /.row -->
		</div>
		<!-- /.container-fluid -->
	</div>
	<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<?php $this->load->view('master/common/footer.php'); ?>
