{extend name="common/common2" /} {block name="main"} <div class="row"> <div class="col-sm-12"> <div class="ibox float-e-margins"> <div class="ibox-content"> <form method="post" action="{:url('copyAuth')}" class="form-horizontal"> <input type="hidden" name="id" value="{$id|default='0'}"> <div class="form-group"> <label class="col-sm-2 control-label">项目名称<span class="text-danger">*</span></label> <div class="col-sm-6"> {:widget_view('common/select',['name'=>'orgId','lists'=>$orgList,'value'=>''])} </div> </div> <div class="hr-line-dashed"></div> <div class="form-group"> <div class="col-sm-6 col-sm-offset-2" style="text-align: center"> <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button> </div> </div> </form> </div> </div> </div> </div> {/block} {block name="script"} <script> $(document).ready(function(){ formSetValue("enable", {$info.enable|default=1}); }); </script> {/block}