?
Current Path : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/master/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/eldertree/application/views/master/edit_nationality.php |
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="row-fluid"> <div class="tab-pane " id="tab_2"> <div class="portlet box yellow"> <div class="portlet-title"> <div class="caption"><i class="icon-reorder"></i>Updating Nationality Details</div> <div class="tools"> <a href="#" onclick="viewdata('master','viewinmastersearch','search_nationality','view_nationality','<?=$_SESSION['pagenum'];?>')" class="remove"></a> </div> </div> <div class="portlet-body form"> <!-- BEGIN FORM--> <?php $attributes = array('id' => 'validateform', 'class' => 'form-horizontal validate'); echo form_open('master/addinmaster/update/view_nationality/1',$attributes); $nationality_type=$this->mastermodel->getenumvalues('nationality','nationality_type'); ?> <h3 class="form-section"></h3> <div class="row-fluid"> <div class="span6 "> <div class="control-group"> <label class="control-label">Nationality Name </label> <div class="controls"> <input name="nationality_name" id="nationality_name" type="text" class="required span12" value="<?=$viewinfo->nationality_name?>" /> </div> </div> </div> <div class="span6 "> <div class="control-group"> <label class="control-label">Nationality Type </label> <div class="controls"> <select name="nationality_type" id="nationality_type" class="required chosen span12"> <option value="">Select</option> <?php if (count($nationality_type['val']) > 0) { foreach ($nationality_type['val'] as $method) { echo "<option value='" . $method . "' "; if ($method == $viewinfo->nationality_type) echo "selected"; echo ">" . $method . "</option>"; } } ?> </select> </div> </div> </div> </div> <div class="form-actions"> <input type="hidden" name="tab_name" value="nationality"/> <input type="hidden" name="resfunction" value="search_nationality"/> <input type="hidden" name="tab_field" value="nationality_id"/> <input type="hidden" name="tab_id" id="tab_id" value="<?=$viewinfo->nationality_id?>"/> <button type="submit" onclick="addformdata('validateform')" class="btn blue"><i class="icon-ok"></i> Save</button> <button type="button" onclick="viewdata('master','viewinmastersearch','search_nationality','view_nationality','<?=$_SESSION['pagenum'];?>')" class="btn">Cancel</button> </div> <?php echo form_close(); ?> <!-- END FORM--> </div> </div> </div> </div>