| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!DOCTYPE html>
- <html lang="en" xmlns:th="http://www.thymeleaf.org">
- <head>
- <meta charset="UTF-8"/>
- <title>user</title>
- <link rel="stylesheet" th:href="@{/css/bootstrap.css}"></link>
- </head>
- <body class="container">
- <br/>
- <h1>添加用户</h1>
- <br/><br/>
- <div class="with:80%">
- <form class="form-horizontal" th:action="@{/add}" method="post">
- <div class="form-group">
- <label for="userName" class="col-sm-2 control-label">userName</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" name="userName" id="userName" placeholder="userName"/>
- </div>
- </div>
- <div class="form-group">
- <label for="password" class="col-sm-2 control-label" >Password</label>
- <div class="col-sm-10">
- <input type="password" class="form-control" name="password" id="password" placeholder="Password"/>
- </div>
- </div>
- <div class="form-group">
- <label for="age" class="col-sm-2 control-label">age</label>
- <div class="col-sm-10">
- <input type="text" class="form-control" name="age" id="age" placeholder="age"/>
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <input type="submit" value="Submit" class="btn btn-info" />
-
- <input type="reset" value="Reset" class="btn btn-info" />
- </div>
- </div>
- </form>
- </div>
- </body>
- </html>
|