Yii 2.0 How to generate form without
?

前端 未结 4 1226
抹茶落季
抹茶落季 2021-02-02 09:30
 \'contact-form\']); ?>
        field($model, \'email\',  [
                \'inputOptions\' => [          


        
4条回答
  •  盖世英雄少女心
    2021-02-02 10:09

    field($model, 'email', [
        'template' => '{input}', // Leave only input (remove label, error and hint)
        'options' => [
            'tag' => false, // Don't wrap with "form-group" div
        ],
    ]) ?>
    

提交回复
热议问题