1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <%@ page language="java" contentType="text/html; charset=UTF-8"
- pageEncoding="UTF-8"%>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <%@ include file="../../common/head.jsp"%>
- </head>
- <body>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="col-sm-12">
- <cs:form_validate formId="addDicForm"/>
- <form class="form-horizontal" action="edit.cs" id="addDicForm" method="POST">
- <div class="form-group">
- <label class="col-sm-3 control-label">类型:</label>
- <div class="col-sm-6">
- <input id="id" name="id" value="${dic.id }" class="form-control" type="hidden" >
- <input id="type" name="type" value="${dic.type }" class="form-control" validate="{required:true}" validateMessage="{required:'请输入类型'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">代码:</label>
- <div class="col-sm-6">
- <input id="code" name="code" value="${dic.code }" class="form-control" validate="{required:true}" validateMessage="{required:'请输入code,不能重复'}" >
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-sm-3 control-label">名称:</label>
- <div class="col-sm-6">
- <input id="name" name="name" value="${dic.name }" class="form-control" validate="{required:true}" validateMessage="{required:'请输入名称'}" >
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-sm-3 control-label">值:</label>
- <div class="col-sm-6">
- <input id="val" name="value" value="${dic.value }" class="form-control" validate="{required:true}" validateMessage="{required:'请输入字典值'}" >
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-3 control-label">描述:</label>
- <div class="col-sm-6">
- <input id="note" name="note" value="${dic.note }" class="form-control" >
- </div>
- </div>
-
- <!-- <div class="form-group"> -->
- <!-- <label class="col-sm-3 control-label">:</label> -->
- <!-- <div class="col-sm-6"> -->
- <!-- <input id="weight" name="weight" class="form-control" > -->
- <!-- </div> -->
- <!-- </div> -->
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-3 pull-left">
- <button class="btn btn-default btn-dlg-close">取消</button>
- <button class="btn btn-primary" type="submit">提交</button>
- </div>
- </div>
-
- </form>
- </div>
- </div>
- </div>
- </body>
- </html>
|