Using CakePHP FormHelper with Bootstrap Forms

前端 未结 9 602
天命终不由人
天命终不由人 2020-12-12 14:56

CakePHP\'s FormHelper is how you generate forms when making CakePHP applications. As one might assume, this includes generating input elements, like so:

$thi         


        
9条回答
  •  無奈伤痛
    2020-12-12 15:14

    I had the same problem using slywalker / cakephp-plugin-boost_cake, I open a ticket and he had it fix in a few hours, he updated to 1,03 and told me to use it like this

    Form->input('email', array(
        'label' => array(
            'text' => __('Email:'),
        ),
        'beforeInput' => '
    ', 'afterInput' => '
    ' )); ?>

    I hope it helps some one else too

提交回复
热议问题