Skip to content

Commit d356d32

Browse files
Remove unnecessary form on order success page
A form with an input which does the same job as an anchor tag.
1 parent 4a28abb commit d356d32

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/Checkout/view/frontend/web/template/registration.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<!-- ko if: isFormVisible -->
1212
<p data-bind="i18n: 'You can track your order status by creating an account.'"></p>
1313
<p><span data-bind="i18n: 'Email Address'"></span>: <span data-bind="text: getEmailAddress()"></span></p>
14-
<form method="get" data-bind="attr: { action: getUrl() }">
15-
<input type="submit" class="action primary" data-bind="value: $t('Create an Account')" />
16-
</form>
14+
<a class="action primary" data-bind="attr: { href: getUrl() }">
15+
<span data-bind="i18n: 'Create an Account'" />
16+
</a>
1717
<!--/ko-->
1818
</div>

0 commit comments

Comments
 (0)