首页 > 代码库 > bootstrap简单form表单样式
bootstrap简单form表单样式
jsp代码:
<div id="content" style="background-color: white;"> <form class="form-horizontal" id="smartForm"> <input id="creator_id" name="creator_id" value="${sessionScope.user.id }" type="hidden"> <fieldset> <legend>指标定义</legend> <div class="form-group"> <label for="disabledSelect" class="col-sm-2 control-label text-right">编号:</label> <div class="col-sm-4"> <input type="text" placeholder="编号" id="number" name="number" class="form-control" > </div> <div class="col-sm-6 control-label text-left"> <font color="red"><b>*</b></font> </div> </div> <div class="form-group"> <label for="disabledSelect" class="col-sm-2 control-label text-right">指标名称:</label> <div class="col-sm-4"> <input type="text" placeholder="指标名称" id="name" name="name" class="form-control" > </div> <div class="col-sm-6 control-label text-left"> <font color="red"><b>*</b></font> </div> </div> <div class="form-group"> <label for="disabledSelect" class="col-sm-2 control-label text-right">定义:</label> <div class="col-sm-4"> <input type="text" placeholder="指标定义" id="define" name="define" class="form-control" > </div> <div class="col-sm-6 control-label text-left"> <font color="red"><b>*</b></font> </div> </div> <div class="form-group"> <label for="disabledSelect" class="col-sm-2 control-label text-right">算法:</label> <div class="col-sm-8"> <textarea class="form-control" rows="3" id="diamond" name="diamond"></textarea> </div> </div> <div class="col-sm-2 control-label text-left"> <font color="red"><b> </b></font> </div> </fieldset> <div class="text-center"> <button type="button" class="btn btn-primary" onclick="doSubmit()">提交</button> <button type="button" class="btn btn-default" onclick="canclepage()">取消</button> </div> </form> </div>
bootstrap简单form表单样式
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。