Answering to myself.
I do like this:
<div class="form-group">
<label for="start-date" class="col-sm-2 control-label">Start</label>
<div class="col-sm-2">
<input type="text" name="startDate" id="start-date"
class="form-control">
</div>
<div class="col-sm-2">
<input type="text" name="startTime" id="start-time"
class="form-control">
</div>
</div>
It then looks like this: http://postimg.org/image/jb071nswp
But when reducing the browser window size (on mobile), it looks like this
which is not very good:
http://postimg.org/image/6prg9uqxj/
I guess Bootstrap 3 has not been designed for this kind of use which I
think is pretty common.
On Wednesday, September 4, 2013 10:04:32 PM UTC+2, Tanguy Krotoff wrote:
>
> Hi all,
>
> Do you know how to write a form (form-horizontal) with multiple inputs on
> the same line (so with a unique label):
>
> Label input
> Label input input input <---
> Label input
>
> This was more or less possible with Bootstrap 2.
>
>
--
You received this message because you are subscribed to the Google Groups
"twitter-bootstrap" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.