Bootstrap: Input inside a label

前端 未结 2 818
广开言路
广开言路 2021-01-18 08:39

In order to avoid having to have an ID for each input element on my form I would like to place my form input inside the label (Bootstrap 3).

My problem

2条回答
  •  礼貌的吻别
    2021-01-18 08:55

    You don't need the extra row, since the form-group acts like a row...

    http://www.codeply.com/go/3uRFV0wXG4

提交回复
热议问题