ok
Direktori : /home2/selectio/www/mm-tailor-billing/themes/default/views/mmcategories/ |
Current File : /home2/selectio/www/mm-tailor-billing/themes/default/views/mmcategories/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("mmcategories/edit/".$mmcategories->id);?> <div class="row"> <div class="col-md-6"> <div class="form-group"> <?= lang('code', 'code'); ?> <?= form_input('code', $mmcategories->code, 'class="form-control tip" id="code" required="required"'); ?> </div> <div class="form-group"> <?= lang('name', 'name'); ?> <?= form_input('name', $mmcategories->name, 'class="form-control tip" id="name" required="required"'); ?> </div> <div class="form-group"> <?= lang('Category', 'Category'); ?> <select name="category_id" id="category_id" class="form-control select2" required="required"> <option value="0" <?php if($mmcategories->category=="0"){echo "selected";}?>>Select Category</option> <option value="1" <?php if($mmcategories->category=="1"){echo "selected";}?>>Expense Category</option> <option value="2" <?php if($mmcategories->category=="2"){echo "selected";}?>>Income Category</option> <option value="3" <?php if($mmcategories->category=="3"){echo "selected";}?>>Purchase Category</option> </select> </div> </div> </div> <div class="form-group"> <?= form_submit('edit_mmcategories', lang('edit_mmcategories'), 'class="btn btn-primary"'); ?> </div> <?php echo form_close();?> </div> <div class="clearfix"></div> </div> </div> </div> </div> </section>