js__bootstrap_demos/chapter3/12form-inline.html
2015-03-30 11:19:56 +02:00

54 lines
1.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Bootstrap grid system</title>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-COMPATIBLE" content="IE=Edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="stylesheet" href="../css/bootstrap.min.css"/>
<link rel="stylesheet" href="styles.css" />
<!--[if lt IE 9]>
<script src="../js/html5shiv.3-7-0.js"></script>
<script src="../js/respond.1-4-2.min.js"></script>
<![endif]-->
</head>
<body>
<div class="container">
<div class="page-header">
<h1>Chapter 3
<small>Exploring Bootstrap components: inline form</small>
</h1>
</div>
<form class="form-inline">
<div class="form-group">
<input type="text" class="form-control" id="emailField" placeholder="Enter email" />
</div>
<div class="form-group">
<input type="password" class="form-control" id="passwordField" placeholder="Password" />
</div>
<div class="checkbox">
<label>
<input type="checkbox" />Remember me
</label>
</div>
<div class="radio">
<label>
<input name="gender" type="radio" value="Male" />Male
<input name="gender" type="radio" value="Female" />Female
</label>
</div>
<button type="submit" class="btn btn-primary">Sign in</button>
</form>
</div>
<!-- https://ajax.googleapis.com/ajax/libs/jquery/1.11.1.jquery.min.js -->
<script src="../js/jquery-1.11.2.min.js"></script>
<script src="../js/bootstrap.js"></script>
</body>
</html>