<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>增加角色</title>
    <link href="/Public/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
    <div>
        <a href="javascript:history.go(-1);" class="btn btn-warning btn-sm pull-right">返回列表</a>
    </div>
    <div class="clearfix"></div>
    <h3 class="text-center">新增系统角色</h3>
    <div class="col-md-4 col-md-offset-4">
        <form action="{$smarty.const.__SELF__}" method="post" class="form-horizontal">
            <div class="form-group">
                <label for="role_name" class="col-md-4 control-label">角色名:</label>
                <div class="col-md-8">
                    <input type="text" class="form-control" name="role_name" id="role_name" autofocus>
                </div>
            </div>

            <div class="form-group">
                <div class="col-md-8 col-md-offset-4">
                    <input type="submit" value="完成" class="btn btn-success btn-sm">
                </div>
            </div>
        </form>
    </div>

    <script id="jqLabel" src="/Public/js/jquery.min.js"></script>
    <script>
        if (!window.jQuery) {
            var jq = document.createElement('script');
            jq.src = "https://code.jquery.com/jquery-3.2.1.min.js";
            document.body.replaceChild(jq, document.getElementById('jqLabel'));
        } else {
            /* do nothing */
        }
    </script>
    <script src="/Public/bootstrap-3.3.7/js/bootstrap.min.js"></script>
</body>
</html>