Skip to content

Commit 779fa22

Browse files
author
Vitaliy
authored
Merge pull request #408 from drpayyne/bug/incorrect-template
Fixed incorrect file template content
2 parents 0dfc0b3 + a295e32 commit 779fa22

File tree

2 files changed

+27
-28
lines changed

2 files changed

+27
-28
lines changed

resources/fileTemplates/internal/Magento Form Button Block Class.php.html

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,30 @@
55
*/
66
-->
77
<html lang="en">
8-
<body>
9-
</body>
8+
<body>
9+
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
10+
<tr>
11+
<td>
12+
<font face="verdana" size="-1">
13+
A Magento 2 <a href="https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-form.html">UI Component Form</a> can have buttons to perform actions on the form such as "Back" or "Save" for example.
14+
</font><br>
15+
</td>
16+
</tr>
17+
</table>
18+
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
19+
<tr>
20+
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
21+
</tr>
22+
<tr>
23+
<td valign="top"><nobr><font face="verdana" size="-2"><b>${NAMESPACE}</b></font></nobr></td>
24+
<td width="10">&nbsp;</td>
25+
<td width="100%" valign="top"><font face="verdana" size="-1">Namespace for the UI Component Form button class</font></td>
26+
</tr>
27+
<tr>
28+
<td valign="top"><nobr><font face="verdana" size="-2"><b>${CLASS_NAME}</b></font></nobr></td>
29+
<td width="10">&nbsp;</td>
30+
<td width="100%" valign="top"><font face="verdana" size="-1">Class name for the UI Component Form button class</font></td>
31+
</tr>
32+
</table>
33+
</body>
1034
</html>

resources/fileTemplates/internal/Magento UI Component Form XML.xml.html

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,5 @@
55
*/
66
-->
77
<html lang="en">
8-
<body>
9-
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
10-
<tr>
11-
<td>
12-
<font face="verdana" size="-1">
13-
A Magento 2 <a href="https://devdocs.magento.com/guides/v2.4/ui_comp_guide/components/ui-form.html">UI Component Form</a> can have buttons to perform actions on the form such as "Back" or "Save" for example.
14-
</font><br>
15-
</td>
16-
</tr>
17-
</table>
18-
<table width="100%" border="0" cellpadding="5" cellspacing="0" style="border-collapse: collapse">
19-
<tr>
20-
<td colspan="3"><font face="verdana" size="-1">Predefined variables will take the following values:</font></td>
21-
</tr>
22-
<tr>
23-
<td valign="top"><nobr><font face="verdana" size="-2"><b>${NAMESPACE}</b></font></nobr></td>
24-
<td width="10">&nbsp;</td>
25-
<td width="100%" valign="top"><font face="verdana" size="-1">Namespace for the UI Component Form button class</font></td>
26-
</tr>
27-
<tr>
28-
<td valign="top"><nobr><font face="verdana" size="-2"><b>${CLASS_NAME}</b></font></nobr></td>
29-
<td width="10">&nbsp;</td>
30-
<td width="100%" valign="top"><font face="verdana" size="-1">Class name for the UI Component Form button class</font></td>
31-
</tr>
32-
</table>
33-
</body>
8+
<body></body>
349
</html>

0 commit comments

Comments
 (0)