Skip to content

Commit

Permalink
Merge branch 'fixpost-form' into fix-post-form
Browse files Browse the repository at this point in the history
  • Loading branch information
terabytesoftw committed Dec 15, 2023
2 parents 47ca042 + b34ff79 commit 1224780
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 1224780

Please sign in to comment.