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

    <a href="<?= base_url() ?>patient/admin_photos/overview" class="button sub inlineBlock rnd3 lightTextShadow">
        <span><?php echo $this->lang->line('button_photos'); ?></span>
    </a>
    <a href="<?= base_url() ?>patient/admin_photos_category/overview" class="button sub inlineBlock rnd3 lightTextShadow">
        <span><?php echo $this->lang->line('button_categories'); ?></span>
    </a>

    <div class="content">
        <?php echo form_open_multipart('patient/admin_photos/edit/' . $photos['ph_id'], array('ph_id' => 'photos_edit')) ?>
        <fieldset class="form boxStyle">                                

            <?php echo $this->template->flash_msg(); ?>

            <label for="photos_name" class="label"><?php echo $this->lang->line('photos_name'); ?></label>
            <input id="photos_name" class="textBox med rnd5" name="photos_name" value="<?= set_value('photos_name', $photos['ph_name']) ?>"  />
            <?php echo form_error('photos_name'); ?>
            <br />
 
            <label for="photos_file" class="label"><?php echo $this->lang->line('photos_file'); ?></label>
            <div class="fileUpload">
                <input id="file" type="file" name="photos_file" value="<?= set_value('photos_file', $photos['ph_url']) ?>"  />
                <span class="button rnd5 drkTextShadow">جلب الملف</span>
                <?php echo form_error('photos_file'); ?>
            </div>
            <br />

            <div class="center">
                <input id="submit" type="submit" value="أدخل" class="button sml inlineBlock rnd5 drkTextShadow" />
            </div>
        </fieldset>
        <?php echo form_close(); ?>
    </div>
</div>