123456789101112131415161718192021222324252627282930313233343536373839 |
- <{include file="admin/permission/header.html"}>
- <{include file="admin/permission/nav.html"}>
- <form name='edit_usergroup_from' action="<{$web_cfg.domain}>" method="post">
- <input name="c" type="hidden" value="permission" />
- <input name="a" type="hidden" value="editUsergroup" />
- <input name="groupid" type="hidden" value="<{$group.id}>" />
- <table class="">
- <tr>
- <th style="width:100px;">用户组名称</th>
- <td style="width:200px;">
- <input name="description" type="text" value="<{$group.description}>" class="input-sm form-control"/>
- </td>
- </tr>
- <tr><td></td><td></td></tr>
- <tr>
- <td colspan='2' align="center">
- <input type="submit" value="提交" id="edit_usergroup_btn" class="btn btn-default btn-sm btn-primary"/>
- </td>
- </tr>
- </table>
- </form>
- <script type="text/javascript">
- KISSY.use('node', function (S, Node) {
- var $ = S.all;
-
- $('#edit_usergroup_btn').on('click', function () {
- var new_group_name = S.trim($('input[name=description]').val());
-
- if (new_group_name == '') {
- alert('请填写增加的组名称');
- return false;
- }
- });
- });
- </script>
- <{include file="admin/permission/bottom.html"}>
|