['enctype' => 'multipart/form-data']]); ?> field($model, 'actif')->radioList([1 => 'Oui',0 => 'Non' ]) ?> field($model, 'nom')->textInput(['maxlength' => 255]) ?> field($model, 'description')->textInput(['maxlength' => 255]) ?> field($model, 'recette')->textarea() ?> field($model, 'prix')->textInput() ?> field($model, 'poids')->textInput() ?> field($model, 'quantite_max')->textInput() ?> field($model, 'photo')->fileInput() ?> photo)) { echo '
' ; echo '

' ; } ?>

Jours de production

field($model, 'lundi')->checkbox() ?> field($model, 'mardi')->checkbox() ?> field($model, 'mercredi')->checkbox() ?> field($model, 'jeudi')->checkbox() ?> field($model, 'vendredi')->checkbox() ?> field($model, 'samedi')->checkbox() ?> field($model, 'dimanche')->checkbox() ?>
field($model, 'id_etablissement')->hiddenInput()->label('') ?>
isNewRecord ? 'Ajouter' : 'Modifier', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>