drop legend from docs example per #9626
This commit is contained in:
parent
4b350f8b79
commit
33edb95b98
82
css.html
82
css.html
|
@ -1347,53 +1347,47 @@ For example, <code><section></code> should be wrapped as inline.
|
||||||
<h2 id="forms-example">Basic example</h2>
|
<h2 id="forms-example">Basic example</h2>
|
||||||
<p>Individual form controls automatically receive some global styling. All textual <code><input></code>, <code><textarea></code>, and <code><select></code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p>
|
<p>Individual form controls automatically receive some global styling. All textual <code><input></code>, <code><textarea></code>, and <code><select></code> elements with <code>.form-control</code> are set to <code>width: 100%;</code> by default. Wrap labels and controls in <code>.form-group</code> for optimum spacing.</p>
|
||||||
<form class="bs-example" role="form">
|
<form class="bs-example" role="form">
|
||||||
<fieldset>
|
<div class="form-group">
|
||||||
<legend>Legend</legend>
|
<label for="exampleInputEmail1">Email address</label>
|
||||||
<div class="form-group">
|
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
|
||||||
<label for="exampleInputEmail1">Email address</label>
|
</div>
|
||||||
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
|
<div class="form-group">
|
||||||
</div>
|
<label for="exampleInputPassword1">Password</label>
|
||||||
<div class="form-group">
|
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
||||||
<label for="exampleInputPassword1">Password</label>
|
</div>
|
||||||
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
<div class="form-group">
|
||||||
</div>
|
<label for="exampleInputFile">File input</label>
|
||||||
<div class="form-group">
|
<input type="file" id="exampleInputFile">
|
||||||
<label for="exampleInputFile">File input</label>
|
<p class="help-block">Example block-level help text here.</p>
|
||||||
<input type="file" id="exampleInputFile">
|
</div>
|
||||||
<p class="help-block">Example block-level help text here.</p>
|
<div class="checkbox">
|
||||||
</div>
|
<label>
|
||||||
<div class="checkbox">
|
<input type="checkbox"> Check me out
|
||||||
<label>
|
</label>
|
||||||
<input type="checkbox"> Check me out
|
</div>
|
||||||
</label>
|
<button type="submit" class="btn btn-default">Submit</button>
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn btn-default">Submit</button>
|
|
||||||
</fieldset>
|
|
||||||
</form><!-- /example -->
|
</form><!-- /example -->
|
||||||
{% highlight html %}
|
{% highlight html %}
|
||||||
<form role="form">
|
<form role="form">
|
||||||
<fieldset>
|
<div class="form-group">
|
||||||
<legend>Legend</legend>
|
<label for="exampleInputEmail1">Email address</label>
|
||||||
<div class="form-group">
|
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
|
||||||
<label for="exampleInputEmail1">Email address</label>
|
</div>
|
||||||
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email">
|
<div class="form-group">
|
||||||
</div>
|
<label for="exampleInputPassword1">Password</label>
|
||||||
<div class="form-group">
|
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
||||||
<label for="exampleInputPassword1">Password</label>
|
</div>
|
||||||
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
|
<div class="form-group">
|
||||||
</div>
|
<label for="exampleInputFile">File input</label>
|
||||||
<div class="form-group">
|
<input type="file" id="exampleInputFile">
|
||||||
<label for="exampleInputFile">File input</label>
|
<p class="help-block">Example block-level help text here.</p>
|
||||||
<input type="file" id="exampleInputFile">
|
</div>
|
||||||
<p class="help-block">Example block-level help text here.</p>
|
<div class="checkbox">
|
||||||
</div>
|
<label>
|
||||||
<div class="checkbox">
|
<input type="checkbox"> Check me out
|
||||||
<label>
|
</label>
|
||||||
<input type="checkbox"> Check me out
|
</div>
|
||||||
</label>
|
<button type="submit" class="btn btn-default">Submit</button>
|
||||||
</div>
|
|
||||||
<button type="submit" class="btn btn-default">Submit</button>
|
|
||||||
</fieldset>
|
|
||||||
</form>
|
</form>
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue