Advertisement
lessientelrunya

form3

Jul 20th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 2.24 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <html>
  4.     <head>
  5.  
  6.         <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
  7.         <script src="https://code.jquery.com/jquery-latest.min.js"></script>
  8.         <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
  9.  
  10.         <!-- http://1000hz.github.io/bootstrap-validator/ -->
  11.         <script src="https://cdnjs.cloudflare.com/ajax/libs/1000hz-bootstrap-validator/0.11.5/validator.min.js"></script>
  12.  
  13.         <title>form3</title>
  14.  
  15.     </head>
  16.     <body>
  17.         <div class="container">
  18.             <form action="/register" data-toggle="validator" id="registration" method="get">
  19.                 <div class="form-group">
  20.                     <label for="email" class="control-label">Email</label>
  21.                     <input class="form-control" id="email" required type="text"/>
  22.                     <div class="help-block with-errors"></div>
  23.                 </div>
  24.                 <div class="form-group">
  25.                     <label for="email" class="control-label">Password</label>
  26.                     <input class="form-control" data-minlength="8" id="password" required type="password"/>
  27.                     <div class="help-block with-errors"></div>
  28.                 </div>
  29.                 <div class="form-group">
  30.                     <label for="confirmation" class="control-label">Password (again)</label>
  31.                     <input class="form-control" data-match="#password" data-match-error="passwords don't match" id="confirmation" required type="password"/>
  32.                     <div class="help-block with-errors"></div>
  33.                 </div>
  34.                 <div class="form-group">
  35.                     <div class="checkbox">
  36.                         <label>
  37.                             <input data-error="checkbox unchecked" id="agreement" required type="checkbox"/> I agree
  38.                         </label>
  39.                         <div class="help-block with-errors"></div>
  40.                     </div>
  41.                 </div>
  42.                 <div class="form-group">
  43.                     <button class="btn btn-default" type="submit">Register</button>
  44.                 </div>
  45.             </form>
  46.         </div>
  47.     </body>
  48. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement