Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
sharing.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
8 
10 ?>
11 <form class="form wishlist share"
12  action="<?= $block->escapeUrl($block->getSendUrl()) ?>"
13  id="form-validate"
14  method="post"
15  data-hasrequired="<?= $block->escapeHtmlAttr(__('* Required Fields')) ?>"
16  data-mage-init='{"validation":{}}'>
17  <fieldset class="fieldset">
18  <?= $block->getBlockHtml('formkey') ?>
19  <legend class="legend"><span><?= $block->escapeHtml(__('Sharing Information')) ?></span></legend><br />
20  <div class="field emails required">
21  <label class="label" for="email_address"><span><?= $block->escapeHtml(__('Email addresses, separated by commas')) ?></span></label>
22  <div class="control">
23  <textarea name="emails" cols="60" rows="5" id="email_address" data-validate="{required:true,'validate-emails':true}"><?= /* @noEscape */ $block->getEnteredData('emails') ?></textarea>
24  </div>
25  </div>
26  <div class="field text">
27  <label class="label" for="message"><span><?= $block->escapeHtml(__('Message')) ?></span></label>
28  <div class="control">
29  <textarea id="message" name="message" cols="60" rows="5"><?= /* @noEscape */ $block->getEnteredData('message') ?></textarea>
30  </div>
31  </div>
32  <?php if ($this->helper('Magento\Wishlist\Helper\Rss')->isRssAllow()): ?>
33  <div class="field choice rss">
34  <input type="checkbox" name="rss_url" id="rss_url" value="1" title="<?= $block->escapeHtmlAttr(__('Check here to link an RSS feed to your Wish List.')) ?>" class="checkbox">
35  <label class="label" for="rss_url">
36  <span>
37  <?= $block->escapeHtml(__('Check here to link an RSS feed to your Wish List.')) ?>
38  </span>
39  </label>
40  </div>
41  <?php endif; ?>
42  </fieldset>
43  <div class="actions-toolbar">
44  <div class="primary">
45  <button type="submit" title="<?= $block->escapeHtmlAttr(__('Share Wish List')) ?>" class="action submit primary">
46  <span><?= $block->escapeHtml(__('Share Wish List')) ?></span>
47  </button>
48  </div>
49  <div class="secondary">
50  <a class="action back" href="<?= $block->escapeUrl($block->getBackUrl()) ?>"><span><?= $block->escapeHtml(__('Back')) ?></span></a>
51  </div>
52  </div>
53 </form>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
if( $form)() ?>< script > require(['jquery' mage mage
Definition: save.phtml:15
__()
Definition: __.php:13
jquery extjs ext tree mage adminhtml form
Definition: tree.phtml:41
$block
Definition: block.php:8
if( $this->helper( 'Magento\Wishlist\Helper\Rss') ->isRssAllow())(__( 'Check here to link an RSS feed to your Wish List.')) ?>" class endif
Definition: sharing.phtml:32