<div class="nav-collapse in collapse" id="collapse_0" style="height: 136px;">
in this way the dropdown not show, while if I set style="height: auto;" all it's ok. thanks.
Posted 08 February 2013 - 05:04 AM
<div class="nav-collapse in collapse" id="collapse_0" style="height: 136px;">
Posted 10 February 2013 - 11:49 AM
Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap'); return array( 'theme'=>'bootstrap', // requires you to copy the theme under your themes directory 'modules'=>array( 'gii'=>array( 'generatorPaths'=>array( 'bootstrap.gii', ), ), ), 'components'=>array( 'bootstrap'=>array( 'class'=>'bootstrap.components.Bootstrap', ), ), );
This post has been edited by Manee: 10 February 2013 - 11:53 AM
Posted 10 February 2013 - 01:06 PM
Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap'); return array( 'theme'=>'bootstrap', // requires you to copy the theme under your themes directory 'modules'=>array( 'gii'=>array( 'generatorPaths'=>array( 'bootstrap.gii', ), ), ), 'components'=>array( 'bootstrap'=>array( 'class'=>'bootstrap.components.Bootstrap', ), ), );
Posted 13 February 2013 - 10:35 AM
Posted 19 February 2013 - 06:40 AM
Posted 20 February 2013 - 07:46 AM
Posted 24 February 2013 - 03:40 PM
Posted 04 March 2013 - 10:17 PM
function createPaymentForm() {
$.getJSON("<?php echo Yii::app()->createUrl('/salesPayment/load', array('id' => 0, 'salesFk' => $model->id)); ?>",
function(data) {
$('#modalHeader').html('Tambah pembayaran');
$('#modalContent').html(data.formModal);
$('#sales-payment-form').attr('action', data.url);
$('#mySubmitButton').html('Tambah');
$('#mySubmitButton').attr('onClick', '{submitPaymentForm(); return false;}');
$('#modal').modal('show');
$('#SalesPayment_date').datepicker({format: 'dd-mm-yyyy', autoclose: true});
});
}
Posted 07 March 2013 - 12:22 PM
Daniel, on 04 March 2013 - 10:17 PM, said:
function createPaymentForm() {
$.getJSON("<?php echo Yii::app()->createUrl('/salesPayment/load', array('id' => 0, 'salesFk' => $model->id)); ?>",
function(data) {
$('#modalHeader').html('Tambah pembayaran');
$('#modalContent').html(data.formModal);
$('#sales-payment-form').attr('action', data.url);
$('#mySubmitButton').html('Tambah');
$('#mySubmitButton').attr('onClick', '{submitPaymentForm(); return false;}');
$('#modal').modal('show');
$('#SalesPayment_date').datepicker({format: 'dd-mm-yyyy', autoclose: true});
});
}
Posted 09 March 2013 - 03:46 AM
Posted 04 April 2013 - 05:58 PM
joedwy, on 17 December 2011 - 03:25 PM, said:
Posted 10 April 2013 - 06:56 AM
Posted 10 April 2013 - 07:02 AM
Posted 12 April 2013 - 04:47 PM
This post has been edited by rooney10: 12 April 2013 - 04:54 PM
Posted 02 May 2013 - 02:49 PM
Posted 02 May 2013 - 02:52 PM
<footer class="footer">
<div class="container">
<p>Designed and built with all the love in the world by <a href="http://twitter.com/mdo" target="_blank">@mdo</a> and <a href="http://twitter.com/fat" target="_blank">@fat</a>.</p>
<p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<p><a href="http://glyphicons.com">Glyphicons Free</a> licensed under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
<ul class="footer-links">
<li><a href="http://blog.getbootstrap.com">Blog</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/twitter/bootstrap/issues?state=open">Issues</a></li>
<li class="muted">·</li>
<li><a href="https://github.com/twitter/bootstrap/blob/master/CHANGELOG.md">Changelog</a></li>
</ul>
</div>
</footer>
footer {
text-align: center;
padding: 30px 0px;
margin-top: 70px;
border-top: 1px solid rgb(229, 229, 229);
background-color: rgb(245, 245, 245);
}
Posted 09 May 2013 - 07:19 PM
<?php $this->widget('bootstrap.widgets.TbTabs', array(
'tabs'=>array(
array(
'id'=>'tab1',
'active'=>true,
'label'=>'Actualizar Dirección Email',
'content'=>$this->renderPartial('/site/index', array('model'=>$model),true)
),
array(
'id'=>'tab2',
'active'=>false,
'label'=>'Actualizar Clave',
'content'=>$this->renderPartial('updatePassword', array('model'=>$model),true)
),
),
)); ?>
<div class="form">
<?php /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
'id'=>'horizontalForm',
'type'=>'horizontal',
'enableClientValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
)); ?>
<p class="note">Los campos marcados con <span class="required">*</span> son obligatorios.</p>
<br/>
<fieldset>
<?php echo $form->passwordFieldRow($model, 'password', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Clave Anterior'))); ?>
<?php echo $form->passwordFieldRow($model, 'passwordNew', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Clave Nueva'))); ?>
<?php echo $form->passwordFieldRow($model, 'passwordNewRepeat', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Repita la Clave Nueva'))); ?>
</fieldset>
<div class="form-actions">
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary', 'label'=>'Guardar')); ?>
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'Borrar')); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
Posted 09 May 2013 - 11:08 PM
Posted 12 May 2013 - 02:52 AM
migueArgentina, on 09 May 2013 - 07:19 PM, said:
<?php $this->widget('bootstrap.widgets.TbTabs', array(
'tabs'=>array(
array(
'id'=>'tab1',
'active'=>true,
'label'=>'Actualizar Dirección Email',
'content'=>$this->renderPartial('/site/index', array('model'=>$model),true)
),
array(
'id'=>'tab2',
'active'=>false,
'label'=>'Actualizar Clave',
'content'=>$this->renderPartial('updatePassword', array('model'=>$model),true)
),
),
)); ?>
<div class="form">
<?php /** @var BootActiveForm $form */
$form = $this->beginWidget('bootstrap.widgets.TbActiveForm', array(
'id'=>'horizontalForm',
'type'=>'horizontal',
'enableClientValidation'=>true,
'clientOptions'=>array(
'validateOnSubmit'=>true,
),
)); ?>
<p class="note">Los campos marcados con <span class="required">*</span> son obligatorios.</p>
<br/>
<fieldset>
<?php echo $form->passwordFieldRow($model, 'password', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Clave Anterior'))); ?>
<?php echo $form->passwordFieldRow($model, 'passwordNew', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Clave Nueva'))); ?>
<?php echo $form->passwordFieldRow($model, 'passwordNewRepeat', array('class'=>'span3', 'value'=>'','labelOptions'=>array('label'=>'Repita la Clave Nueva'))); ?>
</fieldset>
<div class="form-actions">
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'type'=>'primary', 'label'=>'Guardar')); ?>
<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'reset', 'label'=>'Borrar')); ?>
</div>
<?php $this->endWidget(); ?>
</div><!-- form -->
if (isset($_POST['horizontalForm'])) {
$model->setAttributes($_POST['horizontalForm']);
if ($model->save()) {
if (Yii::app()->getRequest()->getIsAjaxRequest())
Yii::app()->end();
else
$this->redirect(array('admin'));
}
}