0
我想在CakePHP中使用TwitterBoostrap并排放置两个输入。CakePHP窗体与TwitterBoostrap(控件控件行)
这是我的一段代码
<?php echo $this->Form->create('Ad',array("class"=>"well row-fluid")); ?>
<fieldset>
<legend><?php echo __('Add Ad'); ?></legend>
<?php echo $this->Form->input('user_id',array('class'=>'span3'));?>
<div class="controls controls-row">
<?php echo $this->Form->input('state_id', array('empty' => 'Selecione o Estado','class'=>'span2','div'=));?>
<?php echo $this->Form->input('city_id', array('empty' => 'Selecione a Cidade','class'=>'span5'));?>
</div>
输出看起来像:
State
|----------| City
|----------|
市心不是一致。我该如何解决它?
我该如何解决?
正是!谢谢! – Henricristo 2013-04-24 18:33:42