How can I make input group involves two inputs?
Assuming you want them next to each other:
JSFiddle
Update Nr.1: Should you want to use .input-group
with this example:
JSFiddle
The class .input-group
is there to extend inputs with buttons and such (directly attached). Checkboxes or radio buttons are possible as well. I don't think it works with two input fields though.
Update Nr. 2: With .form-horizontal
the .form-group
tag basically becomes a .row
tag so you can use the column classes such as .col-sm-8
:
Updated JSFiddle with all three examples