<script type="text/javascript" src="<?php echo base_url();?>assets/js/statue.js"></script>
<aside class="right-side">
    <section class="content-header">
        <div class="title_bar">
            <h1 class="major_txt_color">Vendor 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="vendor_form" enctype="multipart/form-data" method="post">    
                    <input type="hidden" name="hidden_id" value="<?php echo $vendor->id;?>" />    
                    <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 float-clear">
                                        <label>Code</label>
                                        <input type="text" class="form-control readonly" name="code" placeholder="Code" value="<?php echo $vendor->code;?>" autofocus readonly />
                                    </div>
                                    
                                    <div class="form-group float-clear inv_item">
                                        <label>Name<span class="required">*</span></label>
                                        <input type="text" class="form-control" name="name" placeholder="Name" value="<?php echo $vendor->name;?>" />
                                    </div>
                                    <div class="form-group float-clear inv_item">
                                        <label>Contact No</label>
                                        <input type="text" class="form-control" name="contact_no" placeholder="Contact No" value="<?php echo $vendor->contact_no;?>" />
                                    </div>
                                </div>
                                <div class="col-md-6">
                                    <div class="form-group float-clear inv_item">
                                        <label>Email</label>
                                        <input type="text" class="form-control" name="email" placeholder="Email" value="<?php echo $vendor->email;?>" />
                                    </div>
                                    
                                    <div class="form-group float-clear">
                                        <label>Address</label>
                                        <textarea type="text" class="form-control" name="address"><?php echo $vendor->address;?></textarea>
                                    </div>
                                    
                                </div>
                                
                            </div>
                        </div>
                        
                        <div class="box-footer form-actions float-clear">
                            <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>