Skip to content

Commit

Permalink
Change render function for attributes to reference context, rather th…
Browse files Browse the repository at this point in the history
…an string
  • Loading branch information
Mesuva committed Feb 19, 2021
1 parent afa9f88 commit 76d07b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions single_pages/dashboard/store/products.php
Original file line number Diff line number Diff line change
Expand Up @@ -1683,7 +1683,7 @@ function addOptionItem(group) {
<div class="form-group">
<?= $ak->render('label'); ?>
<div class="input">
<?= $ak->render('composer', $caValue, true) ?>
<?= $ak->render(new \Concrete\Core\Attribute\Context\DashboardFormContext(), $caValue, true) ?>
</div>
</div>
<?php }
Expand All @@ -1705,7 +1705,7 @@ function addOptionItem(group) {
<div class="form-group">
<?= $ak->render('label'); ?>
<div class="input">
<?= $ak->render('composer', $caValue, true) ?>
<?= $ak->render(new \Concrete\Core\Attribute\Context\DashboardFormContext(), $caValue, true) ?>
</div>
</div>
<?php }
Expand Down

0 comments on commit 76d07b0

Please sign in to comment.