Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
comment.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
9 /* @var \Magento\Wishlist\Block\Customer\Wishlist\Item\Column\Comment $block */
10 
11 /* @var \Magento\Wishlist\Model\Item $item */
12 $item = $block->getItem();
13 ?>
14 
15 <div class="field comment-box">
16  <label class="label" for="product-item-comment-<?= $block->escapeHtmlAttr($item->getWishlistItemId()) ?>">
17  <span><?= $block->escapeHtml(__('Comment')) ?></span>
18  </label>
19  <div class="control">
20  <textarea id="product-item-comment-<?= $block->escapeHtmlAttr($item->getWishlistItemId()) ?>" placeholder="<?= /* @noEscape */ $this->helper('Magento\Wishlist\Helper\Data')->defaultCommentString() ?>" name="description[<?= $block->escapeHtmlAttr($item->getWishlistItemId()) ?>]" title="<?= $block->escapeHtmlAttr(__('Comment')) ?>" class="product-item-comment"><?= ($block->escapeHtml($item->getDescription())) ?></textarea>
21  </div>
22 </div>
__()
Definition: __.php:13
$block
Definition: block.php:8
$item
Definition: comment.phtml:12