<script type="text/javascript" src="<?php echo base_url();?>assets/js/general_festivals.js"></script>
<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Hindu Festivals Edit</h1>
            <div class="breadcrumb_container"><?php echo breadcrumb_links();?></div>
        </div>
    </section>

    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <form action="<?php echo $form_action;?>" method="post" name="general_festivals_form" id="general_festivals_form" enctype="multipart/form-data">
                    <div class="box box-danger">
               	        <div class="box-body">
                            <ul class="error_container"></ul>                            
                            <div class="col-xs-12">
                                <div class="col-md-6">
                                   <div class="form-group">
                                        <label>Name <span class="required">*</span></label>
                                        <input type="text" class="form-control" name="name" id="name" placeholder="Name" value="<?php echo $general_festivals_details[0]['name'];  ?>" />
                                    </div>
									<div class="form-group">
                                        <label>Name (T)<span class="required">*</span></label>
                                        <input type="text" class="form-control" name="name_t" id="name_t" placeholder="Name (T)" value="<?php echo $general_festivals_details[0]['name_t'];  ?>" />
                                    </div>
                                    <div class="form-group">
                                        <label>Date <span class="required">*</span></label>
                                        <input type="text" class="form-control datepicker" name="date" id="date" placeholder="Date" value="<?php echo date('d-m-Y',strtotime($general_festivals_details[0]['date']));?>" />
                                    </div>
									 <div class="form-group">
                                        <label>Day <span class="required">*</span></label>
                                        <input type="text" class="form-control" name="day" id="day" placeholder="Day" value="<?php echo $general_festivals_details[0]['day'];  ?>" />
                                    </div>
									 <div class="form-group">
                                        <label>Day (T) <span class="required">*</span></label>
                                        <input type="text" class="form-control" name="day_t" id="day_t" placeholder="Day (T)" value="<?php echo $general_festivals_details[0]['day_t'];  ?>" />
                                    </div>
                                    <div class="form-group">
										<label>Status</label>
										<select name="status" class="form-control" id="status">												
											<option value="1" <?php echo (($general_festivals_details[0]['status'] == '1')?'Selected':''); ?>>Active</option>
											<option value="0" <?php echo (($general_festivals_details[0]['status'] == '0')?'Selected':''); ?>>Inactive</option>                                                
										</select>
                                    </div>                                                               
                                </div>
                                <div class="col-md-6">
                                </div>  
                            </div>                            
                            <div class="col-xs-12">
                                <div class="containers_wrapper"></div>
                            </div>
                        </div>
                        
                         <div class="box-footer form-actions float-clear" style="text-align:center;">
					        <input class="btn reset" type="reset" value="Reset" />
                            <input type="submit" name="submit" value="Update" class="btn btn-success btn-primary" />
	                 	</div>
                    </div><!-- /.box -->
                </form>
            </div><!-- /.col-xs-12 -->
        </div><!-- /.row -->
    </section><!-- /.content -->
</aside>

<style>
    .colorpicker:before {
        display: none;
    }
</style>    