在 twitter bootstrap 中的水平表单内内联表单? [英] Form inline inside a form horizontal in twitter bootstrap?
问题描述
在没有任何自制课程的情况下,在 twitter bootstrap 中设计这样的表单(请参阅下面的链接)的最佳方法是什么?
是否可以像下面的示例一样在表单水平内设置内部表单内联:
不要嵌套 标签,那是行不通的.只需使用 Bootstrap 类.
引导程序 3
<div class="form-group"><span class="col-md-2 control-label">元数据</span><div class="col-md-6"><div class="form-group row"><label for="inputKey" class="col-md-1 control-label">Key</label><div class="col-md-2"><input type="text" class="form-control" id="inputKey" placeholder="Key">
<label for="inputValue" class="col-md-1 control-label">Value</label><div class="col-md-2"><input type="text" class="form-control" id="inputValue" placeholder="Value">