我有这个表单输入,我希望它填充整个div但它失败
<?php $form = ActiveForm::begin(); ?>
<div class="row">
<div class="col-md-8" >
<?= $form->field($model, 'email')->textInput(["placeholder"=>
"your email address", "width"=>"100%;"])- >label(false) //this fails
?>
</div>
<div class="col-md-2">
<input type="submit" name="subscribe"
class="nl-submit" value="JOIN US">
</div>
</div>
<?php ActiveForm::end(); ?>
我需要添加到输入字段,因为它无法适应100%