<?php use_helper('Validation') ?>
<?php use_stylesheet('/sf/sf_admin/css/main') ?>
<?php use_helper('I18N') ?>
<div id="sf_admin_container" style="width:70%">
    <h1><?php echo __('Permission') ?> </h1>
    <?php if ($sf_flash->has('notice')): ?>
    <div class="save-ok">
    <h2><?php echo __($sf_flash->get('notice')) ?></h2>
    </div>
    <?php endif;?>
    <?php echo form_tag('user/permision')?><!--start form-->
        <fieldset>
            
            <div class="form-row">
                <?php echo label_for("subject", __('Subject'), "class='required'") ?>
                <div class="content">
                    <?php echo form_error('username') ?>  
                    <?php echo include_partial("select_subjects"); ?>
                </div>
            </div>
            
            <div class="form-row">
                <?php echo label_for("username", __('Username'),"class='required'")  ?>
                <div class="content">
                    <?php echo form_error('username') ?>  
                    <?php echo include_partial("select_users_2"); ?>
                </div>
            </div>
            
            <ul class="sf_admin_actions">
              <li><input type="submit" name="save" value="save" class="sf_admin_action_save" /></li>
              <li><input type="button" name="Cancel" value="Cancel" class="sf_admin_action_save_and_add" onclick="window.history.back();" /></li>
            </ul>
         </fieldset>
    </form>
</div>