File tree Expand file tree Collapse file tree 4 files changed +73
-0
lines changed
app/code/Magento/Tax/view/adminhtml/templates/toolbar Expand file tree Collapse file tree 4 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ // @deprecated
7
+ // @codingStandardsIgnoreFile
8
+ ?>
9
+ <div data-mage-init='{"floatingHeader": {}}' class="page-actions">
10
+ <button type="button" onclick="window.location.href='<?= $ block ->escapeUrl ($ createUrl ) ?> '">
11
+ <?= $ block ->escapeHtml (__ ('Add New Class ' )) ?>
12
+ </button>
13
+ </div>
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ // @deprecated
7
+ // @codingStandardsIgnoreFile
8
+ ?>
9
+ <div data-mage-init='{"floatingHeader": {}}' class="page-actions">
10
+ <?= $ block ->getBackButtonHtml () ?>
11
+ <?= $ block ->getResetButtonHtml () ?>
12
+ <?= $ block ->getSaveButtonHtml () ?>
13
+ </div>
14
+ <?php if ($ form ) : ?>
15
+ <?= $ form ->toHtml () ?>
16
+ <script>
17
+ require(['jquery', "mage/mage"], function(jQuery){
18
+
19
+ jQuery('#<?= $ block ->escapeJs ($ form ->getForm ()->getId ()) ?> ').mage('form').mage('validation');
20
+
21
+ });
22
+ </script>
23
+ <?php endif ; ?>
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ // @deprecated
7
+ // @codingStandardsIgnoreFile
8
+ ?>
9
+ <div data-mage-init='{"floatingHeader": {}}' class="page-actions">
10
+ <button type="button" onclick="window.location.href='<?= $ block ->escapeUrl ($ createUrl ) ?> '">
11
+ <?= $ block ->escapeHtml (__ ('Add New Tax Rule ' )) ?>
12
+ </button>
13
+ </div>
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ // @deprecated
7
+ // @codingStandardsIgnoreFile
8
+ ?>
9
+ <div data-mage-init='{"floatingHeader": {}}' class="page-actions">
10
+ <?= $ block ->getBackButtonHtml () ?>
11
+ <?= $ block ->getResetButtonHtml () ?>
12
+ <?= $ block ->getSaveButtonHtml () ?>
13
+ <?= $ block ->getDeleteButtonHtml () ?>
14
+ </div>
15
+ <?php if ($ form ) : ?>
16
+ <?= $ form ->toHtml () ?>
17
+ <script>
18
+ require(['jquery', "mage/mage"], function(jQuery){
19
+
20
+ jQuery('#<?= $ block ->escapeJs ($ form ->getForm ()->getId ()) ?> ').mage('form').mage('validation');
21
+
22
+ });
23
+ </script>
24
+ <?php endif ; ?>
You can’t perform that action at this time.
0 commit comments