setTitle('Modifier une fonctionnalité') ;
$this->addBreadcrumb(['label' => 'Fonctionnalité', 'url' => ['index']]) ;
$this->addBreadcrumb('Modifier') ;
?>
= $form->field($model, 'status')->radioList([1 => 'Oui', 0 => 'Non']) ?>
= $form->field($model, 'name') ?>
= $form->field($model, 'description')->widget(letyii\tinymce\Tinymce::class, [
'options' => [
'id' => 'testid',
],
'configs' => [ // Read more: https://www.tiny.cloud/docs/tinymce/6/full-featured-open-source-demo/
'plugins' => 'preview importcss searchreplace autolink autosave save directionality code visualblocks visualchars fullscreen image link media template codesample table charmap pagebreak nonbreaking anchor insertdatetime advlist lists wordcount help charmap quickbars emoticons accordion' ,
]
]) ; ?>
= $form->field($model, 'only_for_selected_producers')->radioList([1 => 'Oui', 0 => 'Non']) ?>
= $form->field($model, 'is_paid_feature')->radioList([1 => 'Oui', 0 => 'Non']) ?>
= $form->field($model, 'price') ?>
= Html::submitButton('Modifier', ['class' => 'btn btn-success']) ?>