Skip to content

Commit

Permalink
Fix post form. (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw authored Dec 15, 2023
1 parent 47ca042 commit f8ea9a5
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions src/UseCase/Post/view/_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,20 @@
)
?>
<?= $form->field($formModel, 'title') ?>
<?= $form->field($formModel, 'content_short')->widget(Summernote::class, $configSummerNote) ?>
<?= $form->field($formModel, 'content')->widget(Summernote::class, $configSummerNote) ?>
<?=
$form->field(
$formModel,
'content_short',
['options' => ['class' => 'mt-3']],
)->widget(Summernote::class, $configSummerNote)
?>
<?=
$form->field(
$formModel,
'content',
['options' => ['class' => 'mt-3']],
)->widget(Summernote::class, $configSummerNote)
?>
<?= $form->field($formModel, 'slug') ?>
<?=
$form
Expand Down

0 comments on commit f8ea9a5

Please sign in to comment.