as you see the class of datetime input is as class of other inputs. i used twitter bootstrap but how can change the datetime input internal inputs classes? (without hacking the form helper)
this is my datetime picker input:
echo $this->Form->input('issue_date');
and the form created like this :
echo $this->Form->create('Certificate',array('class'=>'form-horizontal','inputDefaults' => array(
'format' => array('before', 'label', 'between', 'input', 'error', 'after'),
'div' => array('class' => 'control-group'),
'label' => array('class' => 'control-label'),
'between' => '<div class="controls">',
'after' => '</div>',
'error' => array('attributes' => array('wrap' => 'span', 'class' => 'help-inline')))
));
This will work fine.
the above will generate output like this