<div class="row-fluid">
    <div class="span3">
        <div class="well" >
            <ul id="treeDemo" name="treeDemo" class="ztree span12" style="height:938px;overflow-y:scroll;overflow-x:auto;"></ul>

            <ul class="nav nav-list">
                <li class="nav-header"><a href="#" ><i class="icon-retweet"></i></a></li>
            </ul>

        </div>
    </div>

    <div class="span7">
        <legend>权限节点编辑</legend>

        <form id="form_actionmanage_edit" name="form_actionmanage_edit" method="post" action="<?php echo site_url('accessmanage/edit_action') ?>">
          <fieldset>
            <label>名称</label>
            <input name="iaa_title" class="span3" type="text" value="<?php echo $current_action->iaa_title; ?>">
            <label>控制器</label>
            <input value="<?php echo $current_action->iaa_controller; ?>" name="iaa_controller" class="span11" type="text">
            <label>方法名</label>
            <input value="<?php echo $current_action->iaa_action; ?>" name="iaa_action" class="span11" type="text">
            <label> </label>
            <input name="iaa_id" class="span3" type="hidden" value="<?php echo $current_action->iaa_id; ?>">
            <input name="iaa_is_id" class="span3" type="hidden" value="<?php echo $current_action->iaa_is_id; ?>">
            <div class="btn-group">
              <button type="button" class="btn" onclick="submitForm('form_actionmanage_edit');">保　存</button>              
              <button class="btn dropdown-toggle" data-toggle="dropdown">
                <span class="caret"></span>
              </button>
              <ul class="dropdown-menu">
                <li><a href="javascript:void(0);" onClick="deleteInfo('form_actionmanage_edit')">删　除</a></li>
              </ul>
            </div>
          </fieldset>
        </form>
    </div>
    <div class="span2 well" style="min-height:1000px;">
        <?php echo $right_nav; ?>
    </div>
</div>
<script type="text/javascript" src="/js/init_ztree.js"></script>
<script type="text/javascript">
    zNodes =<?PHP echo json_encode($structurelist); ?>;
    var current_node = "<?php echo $current_action->iaa_is_id; ?>"
    var indexpage= "<?php echo site_url('accessmanage/action/'); ?>"
    var addpage  = "<?php echo site_url('accessmanage/addaction'); ?>"
    var movepage = "<?php echo site_url('accessmanage/tree_move'); ?>"
    var deletepage="<?php echo site_url('accessmanage/delete_action'); ?>"
</script>