28 lines
981 B
HTML
28 lines
981 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Simple Form</title>
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
|
|
<link rel="stylesheet" href="../css/hyperform.css">
|
|
<link rel="stylesheet" href="examples.css">
|
|
</head>
|
|
<body>
|
|
<main>
|
|
<form id="simple">
|
|
<p>
|
|
<label>
|
|
A required field. Try submitting without filling it in.<br>
|
|
<input type="text" name="foo" required class="form-control">
|
|
</label>
|
|
</p>
|
|
<p>
|
|
<button class="pure-button pure-button-primary">go!</button>
|
|
</p>
|
|
</form>
|
|
</main>
|
|
<script src="../dist/hyperform.js"></script>
|
|
<script>hyperform(window);</script>
|
|
</body>
|
|
</html>
|