ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
## 代码 ``` <!doctype html> <html> <head> <meta charset="utf-8"> <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> </head> <body> <form class="form-horizontal js-ajax-form margin-top-20" action="{:url('rbac/roleAddPost')}" method="post"> <div class="form-group"> <label for="input-name" class="col-sm-2 control-label"><span class="form-required">*</span>角色名称</label> <div class="col-md-6 col-sm-10"> <input type="text" class="form-control" id="input-name" name="name"> </div> </div> <div class="form-group"> <label for="input-remark" class="col-sm-2 control-label">角色描述</label> <div class="col-md-6 col-sm-10"> <textarea type="text" class="form-control" id="input-remark" name="remark"></textarea> </div> </div> <div class="form-group"> <label class="col-sm-2 control-label">状态</label> <div class="col-md-6 col-sm-10"> <label class="radio-inline"> <input type="radio" name="status" value="1"> 开启 </label> <label class="radio-inline"> <input type="radio" name="status" value="0"> 禁用 </label> </div> </div> <div class="form-group"> <div class="col-sm-offset-2 col-sm-10"> <button type="submit" class="btn btn-primary js-ajax-submit">添加</button> </div> </div> </form> </body> </html> ```