'form-signup','enableClientValidation'=> false]); ?>
= $form->field($model, 'name_producer') ?>
= $form->field($model, 'type')->textInput(['placeholder' => 'Boulangerie, brasserie, ferme ...']); ?>
= $form->field($model, 'postcode') ?>
= $form->field($model, 'city') ?>
= $form->field($model, 'id_tax_rate_default')
->dropDownList(ArrayHelper::map(TaxRate::find()->all(), 'id', function($model) { return $model->name; }), [
'prompt' => '--',
])
->label('TVA à appliquer par défaut'); ?>
= $form->field($model, 'cgv')->checkbox()->label('J\'accepte les
et les
.') ?>
= $form->field($model, 'verifyCode')->widget(\yii\captcha\Captcha::className(), [
'template' => '
',
]) ?>
= $form->field($model, 'is_test')->hiddenInput() ?>
= Html::submitButton("S'inscrire", ['class' => 'btn btn-primary', 'name' => 'signup-button']) ?>