<!-- Form Start -->
<div class="block">
    <div class="title lightTextShadow"><?php echo $this->lang->line('category_edit'); ?></div>
    <br />   

        <a href="<?= base_url() ?>patient/admin_branch_category/overview" class="button sub inlineBlock rnd3 lightTextShadow">
            <span><?php echo $this->lang->line('button_branch_category'); ?></span>
        </a>
        <a href="<?= base_url() ?>patient/admin_product_type_category/overview" class="button sub inlineBlock rnd3 lightTextShadow">
            <span><?php echo $this->lang->line('button_product_type_category'); ?></span>
        </a>
        <a href="<?= base_url() ?>patient/admin_city_category/overview" class="button sub inlineBlock rnd3 lightTextShadow">
            <span><?php echo $this->lang->line('button_city_category'); ?></span>
        </a>
    <a href="<?= base_url() ?>patient/admin_patient/overview" class="button sub inlineBlock rnd3 lightTextShadow">
        <span><?php echo $this->lang->line('button_patient'); ?></span>
    </a>  

    <div class="content">
        <?php echo form_open_multipart('patient/admin_city_category/edit/'.$category->ct_id, array('id' => 'city_category_edit'))?>
        <fieldset class="form boxStyle">                                
            <?php echo $this->template->flash_msg(); ?>                          

            <label for="category_name" class="label"><?php echo $this->lang->line('category_title'); ?></label>
            <input id="category_name" class="textBox med rnd5" name="category_name" value="<?= set_value('category_name',$category->ct_name)?>"  />
            <?php echo form_error('category_name'); ?>
            <br />
            
            <label class="label">هل تريد تفعيل القسم ؟</label>
            <input type="checkbox" name="hide" id="chk1" value="1" <?php echo set_checkbox("hide", "1", ($category->ct_hide == 1)? TRUE : FALSE); ?>/><label for="chk1"><?php echo $this->lang->line('active'); ?></label>
            <br />

            <div class="center">
                <input id="submit" type="submit" value="تفريغ الحقول" class="button sub inlineBlock rnd3 lightTextShadow" />
                <input id="submit" type="submit" value="أدخل" class="button sml inlineBlock rnd5 drkTextShadow" />
            </div>
        </fieldset>
        <?php echo form_close(); ?>
    </div>
</div>