This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy path_forms.php
46 lines (41 loc) · 1.87 KB
/
_forms.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html><html lang="en-gb">
<head>
<title>Form Example - Barebones</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<link rel="stylesheet" href="_css/styles.css" type="text/css"/>
</head>
<body>
<main role="main">
<div class="container">
<header>
<nav role="navigation" class="breadcrumb-nav">
<a href="/">Barebones</a> /
</nav><!--/.breadcrumb-nav-->
<h1>Form Example</h1>
<p class="lede">Basic form styles</p>
</header>
<p>The <code>fieldset</code> element enables you to group related fields within a form, and each one should contain a corresponding <code>legend</code>. The <code>label</code> element ensures field descriptions are associated with their corresponding form widgets.</p>
<fieldset>
<legend>Legend</legend>
<p><small class="caption">Required fields are marked <abbr title="Required">*</abbr></small></p>
<?php include('_patterns/form-input.text.html'); ?>
<?php include('_patterns/form-input.password.html'); ?>
<?php include('_patterns/form-input.email.html'); ?>
<?php include('_patterns/form-input.url.html'); ?>
<?php include('_patterns/form-select.html'); ?>
<?php include('_patterns/form-options.checkboxes.html'); ?>
<?php include('_patterns/form-options.radios.html'); ?>
<?php include('_patterns/form-textarea.html'); ?>
<?php include('_patterns/form-input.checkbox.html'); ?>
<?php include('_patterns/form-buttongroup.html'); ?>
</fieldset>
</div><!--/container-->
</main><!--@main-->
<footer role="contentinfo">
<div class="container">
<p><small>Copyright © 2013 <a href="http://paulrobertlloyd.com">Paul Robert Lloyd</a>. Code covered by the <a rel="license" href="http://paulrobertlloyd.mit-license.org/">MIT license</a>.</small></p>
</div><!--/container-->
</footer><!--/@contentinfo-->
</body>
</html>