]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
ids over names
authorMark Otto <otto@github.com>
Thu, 19 Jun 2014 22:22:49 +0000 (15:22 -0700)
committerMark Otto <otto@github.com>
Thu, 19 Jun 2014 22:22:49 +0000 (15:22 -0700)
docs/_includes/css/forms.html

index 947c5179ceabe6de59af430ccb592376a51e8f07..2a1848e501b5df3181e447681df4d2e1c578196d 100644 (file)
       <div class="form-group form-group-lg">
         <label class="col-sm-2 control-label" for="formGroupInputLarge">Large label</label>
         <div class="col-sm-10">
-          <input class="form-control" type="text" name="formGroupInputLarge" placeholder="Large input">
+          <input class="form-control" type="text" id="formGroupInputLarge" placeholder="Large input">
         </div>
       </div>
       <div class="form-group form-group-sm">
         <label class="col-sm-2 control-label" for="formGroupInputSmall">Small label</label>
         <div class="col-sm-10">
-          <input class="form-control" type="text" name="formGroupInputSmall" placeholder="Small input">
+          <input class="form-control" type="text" id="formGroupInputSmall" placeholder="Small input">
         </div>
       </div>
     </form>
   <div class="form-group form-group-lg">
     <label class="col-sm-2 control-label" for="formGroupInputLarge">Large label</label>
     <div class="col-sm-10">
-      <input class="form-control" type="text" name="formGroupInputLarge" placeholder="Large input">
+      <input class="form-control" type="text" id="formGroupInputLarge" placeholder="Large input">
     </div>
   </div>
   <div class="form-group form-group-sm">
     <label class="col-sm-2 control-label" for="formGroupInputSmall">Small label</label>
     <div class="col-sm-10">
-      <input class="form-control" type="text" name="formGroupInputSmall" placeholder="Small input">
+      <input class="form-control" type="text" id="formGroupInputSmall" placeholder="Small input">
     </div>
   </div>
 </form>