ok

Mini Shell

Direktori : /home2/selectio/www/mm-tailor-billing/themes/default/views/extra_option/
Upload File :
Current File : /home2/selectio/www/mm-tailor-billing/themes/default/views/extra_option/edit.php

<?php (defined('BASEPATH')) OR exit('No direct script access allowed'); ?>

<section class="content">
    <div class="row">
        <div class="col-xs-12">
            <div class="box box-primary">
                <div class="box-header">
                    <h3 class="box-title"><?= lang('update_info'); ?></h3>
                </div>
                <div class="box-body">
                    <div class="col-lg-12">

                        <?php echo form_open_multipart("extra_option/edit/".$extra_option->id);?>
                        <div class="row">
                            <div class="col-md-6">

                                <div class="form-group">
                                    <?= lang('code', 'code'); ?>
                                    <?= form_input('code', $extra_option->code, 'class="form-control tip" id="code"  required="required"'); ?>
                                </div>

                                <div class="form-group">
                                    <?= lang('name', 'name'); ?>
                                    <?= form_input('name', $extra_option->name, 'class="form-control tip" id="name"  required="required"'); ?>
                                </div>
                                
                                <div class="form-group">
                                    <?= lang('category', 'category'); ?>
                                    <select class="form-control" name="category" id="category"> 
        						        <option value="0" <?php if($extra_option->category=="0"){echo "selected";}?>>Select Category Type</option>
        						        <option value="1" <?php if($extra_option->category=="1"){echo "selected";}?>>Shirt</option>
        						        <option value="2" <?php if($extra_option->category=="2"){echo "selected";}?>>Pant</option>
                        			</select>
                                </div>
                                <div class="form-group">
                                    <?= lang('Tamil Name', 'tamil_name'); ?>
                                    <?= form_input('tamil_name', $extra_option->tamil_name, 'class="form-control tip" id="tamil_name"'); ?>
                                </div>
                            </div>
                        </div>

                        <div class="form-group">
                            <?= form_submit('edit_extra_option', lang('edit_extra_option'), 'class="btn btn-primary"'); ?>
                        </div>

                        <?php echo form_close();?>
                    </div>
                    <div class="clearfix"></div>
                </div>
            </div>
        </div>
    </div>
</section>

Zerion Mini Shell 1.0