= $form->field($model, 'code_postal') ?>
= $form->field($model, 'ville') ?>
field($model, 'description')->textarea(['rows' => 10]) ?>
= $form->field($model, 'photo')->fileInput() ?>
photo)) {
if(Yii::$app->getRequest()->serverName == 'localhost')
$base_url = '../../frontend/web/' ;
else
$base_url = 'http://www.laboiteapain.net/' ;
echo '
';
echo '
';
}
?>
= Html::submitButton('Mettre à jour', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>