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

    <a href="<?= base_url() ?>news/admin_news_category/overview" class="button sub inlineBlock rnd3 lightTextShadow">
        <span><?php echo $this->lang->line('button_categories'); ?></span>
    </a>
    <a href="<?= base_url() ?>news/admin_news/overview" class="button sub inlineBlock rnd3 lightTextShadow">
        <span><?php echo $this->lang->line('button_news'); ?></span>
    </a>  

    <div class="content">
        <?php echo form_open_multipart('news/admin_news_category/create/', array('id' => 'news_category_new')) ?>
        <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') ?>"  />
            <?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", TRUE); ?> /><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>
