Commit 5fcdf122 authored by Mark Otto's avatar Mark Otto

Fixes #8001: add IDs for example inputs

parent badececc
...@@ -1130,8 +1130,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline. ...@@ -1130,8 +1130,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<form class="bs-example"> <form class="bs-example">
<fieldset> <fieldset>
<legend>Legend</legend> <legend>Legend</legend>
<label>Label name</label> <label for="exampleInput">Label name</label>
<input type="text" placeholder="Type something…"> <input type="text" id="exampleInput" placeholder="Type something…">
<p class="help-block">Example block-level help text here.</p> <p class="help-block">Example block-level help text here.</p>
<div class="checkbox"> <div class="checkbox">
<label> <label>
...@@ -1145,8 +1145,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline. ...@@ -1145,8 +1145,8 @@ For example, <code>&lt;section&gt;</code> should be wrapped as inline.
<form> <form>
<fieldset> <fieldset>
<legend>Legend</legend> <legend>Legend</legend>
<label>Label name</label> <label for="exampleInput">Label name</label>
<input type="text" placeholder="Type something…"> <input type="text" id="exampleInput" placeholder="Type something…">
<p class="help-block">Example block-level help text here.</p> <p class="help-block">Example block-level help text here.</p>
<div class="checkbox"> <div class="checkbox">
<label> <label>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment